Anupam251272 commited on
Commit
b348401
1 Parent(s): c9946ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -239,8 +239,7 @@ def create_interface():
239
 
240
  return demo
241
 
242
- demo.launch(
243
- share=True,
244
- server_name="0.0.0.0",
245
- server_port=7862 # Changed port from 7861 to 7862
246
- )
 
239
 
240
  return demo
241
 
242
+ if __name__ == "__main__":
243
+ demo = create_interface()
244
+ demo.queue() # Enable queueing
245
+ demo.launch(share=True)