kodetr commited on
Commit
80afb2a
·
verified ·
1 Parent(s): 9cdc954

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -1170,9 +1170,9 @@ if __name__ == "__main__":
1170
  print(f"🔗 Gradio API: http://localhost:7860/run/predict")
1171
  print("="*60)
1172
 
1173
- demo.launch(
1174
- server_name="0.0.0.0",
1175
- server_port=7860,
1176
- share=False,
1177
- debug=False
1178
  )
 
1170
  print(f"🔗 Gradio API: http://localhost:7860/run/predict")
1171
  print("="*60)
1172
 
1173
+ uvicorn.run(
1174
+ app,
1175
+ host="0.0.0.0",
1176
+ port=7860,
1177
+ log_level="info"
1178
  )