pseudotheos
commited on
Commit
•
7198c2a
1
Parent(s):
a8516bf
Update app.py
Browse files
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}:
|
268 |
-
print(f"Public URL: http://{public_ip}:
|
269 |
|
270 |
-
uvicorn.run(app, host="0.0.0.0", port=
|
271 |
|
272 |
if __name__ == "__main__":
|
273 |
import uvicorn
|
274 |
-
uvicorn.run("app:app", host="0.0.0.0", port=
|
|
|
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)
|