freddyaboulton HF Staff commited on
Commit
1ecef01
·
verified ·
1 Parent(s): 4d4a89a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -40,6 +40,6 @@ if __name__ == "__main__":
40
  elif mode == "PHONE":
41
  stream.fastphone(host="0.0.0.0", port=7860)
42
  else:
43
- import uvicorn
44
 
45
- uvicorn.run(app, host="0.0.0.0", port=7860)
 
40
  elif mode == "PHONE":
41
  stream.fastphone(host="0.0.0.0", port=7860)
42
  else:
43
+ stream.ui.launch(server_port=7860, server_name="0.0.0.0")
44
 
45
+