pseudotheos commited on
Commit
7198c2a
1 Parent(s): a8516bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -264,11 +264,11 @@ if __name__ == "__main__":
264
  except requests.RequestException:
265
  public_ip = "Not Available"
266
 
267
- print(f"Internal URL: http://{internal_ip}:8000")
268
- print(f"Public URL: http://{public_ip}:8000")
269
 
270
- uvicorn.run(app, host="0.0.0.0", port=8000, reload=True)
271
 
272
  if __name__ == "__main__":
273
  import uvicorn
274
- uvicorn.run("app:app", host="0.0.0.0", port=8000, reload=True)
 
264
  except requests.RequestException:
265
  public_ip = "Not Available"
266
 
267
+ print(f"Internal URL: http://{internal_ip}:7860")
268
+ print(f"Public URL: http://{public_ip}:7860")
269
 
270
+ uvicorn.run(app, host="0.0.0.0", port=7860, reload=True)
271
 
272
  if __name__ == "__main__":
273
  import uvicorn
274
+ uvicorn.run("app:app", host="0.0.0.0", port=7860, reload=True)