Spaces:
Runtime error
Runtime error
updating code
Browse files
app.py
CHANGED
@@ -350,11 +350,7 @@ if __name__ == "__main__":
|
|
350 |
try:
|
351 |
port = find_available_port()
|
352 |
print(f"[LOG] Launching application on port {port}")
|
353 |
-
demo.launch(
|
354 |
-
server_port=port,
|
355 |
-
server_name="0.0.0.0",
|
356 |
-
prevent_thread_lock=True
|
357 |
-
)
|
358 |
# Verify server is actually running
|
359 |
import time
|
360 |
time.sleep(2) # Give server time to start
|
|
|
350 |
try:
|
351 |
port = find_available_port()
|
352 |
print(f"[LOG] Launching application on port {port}")
|
353 |
+
demo.launch()
|
|
|
|
|
|
|
|
|
354 |
# Verify server is actually running
|
355 |
import time
|
356 |
time.sleep(2) # Give server time to start
|