Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -329,14 +329,10 @@ iface = gr.Interface(
|
|
329 |
description="بحث حسب اسم الشركه - التاريخ - نمره الشاحنه"
|
330 |
)
|
331 |
|
332 |
-
# Modified
|
333 |
if __name__ == "__main__":
|
334 |
-
#
|
335 |
iface.launch(
|
336 |
-
analytics_enabled=False,
|
337 |
-
show_error=True,
|
338 |
server_name="0.0.0.0",
|
339 |
-
enable_queue=True,
|
340 |
-
# Explicitly set share=False for Spaces deployment
|
341 |
share=False
|
342 |
)
|
|
|
329 |
description="بحث حسب اسم الشركه - التاريخ - نمره الشاحنه"
|
330 |
)
|
331 |
|
332 |
+
# Modified for compatibility with Hugging Face Spaces
|
333 |
if __name__ == "__main__":
|
334 |
+
# Using only parameters that are supported in the Spaces environment
|
335 |
iface.launch(
|
|
|
|
|
336 |
server_name="0.0.0.0",
|
|
|
|
|
337 |
share=False
|
338 |
)
|