Spaces:
Build error
Build error
removing iface initialisation
#4
by mukiibi - opened
app.py
CHANGED
|
@@ -296,9 +296,4 @@ def create_interface():
|
|
| 296 |
|
| 297 |
# === Main Execution ===
|
| 298 |
if __name__ == "__main__":
|
| 299 |
-
iface
|
| 300 |
-
iface.launch(
|
| 301 |
-
server_name="0.0.0.0", # For Hugging Face deployment
|
| 302 |
-
server_port=7860, # Standard HF port
|
| 303 |
-
show_error=True
|
| 304 |
-
)
|
|
|
|
| 296 |
|
| 297 |
# === Main Execution ===
|
| 298 |
if __name__ == "__main__":
|
| 299 |
+
iface.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|