tosin2013 commited on
Commit
ba0267c
·
1 Parent(s): f0450ab

updating code

Browse files
Files changed (1) hide show
  1. app.py +1 -5
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