YinuoGuo27 commited on
Commit
8b4a444
·
verified ·
1 Parent(s): 99167d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -120,7 +120,6 @@ def main():
120
  )
121
  return interface
122
 
123
- if __name__ == "__main__":
124
- os.environ["GRADIO_SERVER_PORT"] = "7860"
125
- demo = main()
126
- demo.launch(server_name="0.0.0.0")
 
120
  )
121
  return interface
122
 
123
+
124
+ demo = main()
125
+ demo.queue().launch(server_name="0.0.0.0")