Zelyanoth commited on
Commit
c7d9c9f
·
verified ·
1 Parent(s): dc005d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -617,13 +617,15 @@ async def main():
617
  interface = create_interface()
618
 
619
  # Launch interface (this will block)
620
- await asyncio.to_thread(
621
- interface.launch,
 
622
  server_port=7860,
623
  debug=False,
624
  show_error=True,
625
  quiet=False
626
  )
 
627
 
628
  except Exception as e:
629
  logger.error(f"Application error: {e}")
 
617
  interface = create_interface()
618
 
619
  # Launch interface (this will block)
620
+
621
+ interface.launch(
622
+ server_name="0.0.0.0",
623
  server_port=7860,
624
  debug=False,
625
  show_error=True,
626
  quiet=False
627
  )
628
+
629
 
630
  except Exception as e:
631
  logger.error(f"Application error: {e}")