sivakorn-su
commited on
Commit
·
2c9f05b
1
Parent(s):
9ea140b
fix port
Browse files
app.py
CHANGED
|
@@ -362,8 +362,11 @@ async def upload_video(file: UploadFile = File(...)):
|
|
| 362 |
"total_sentence": len(df_merged['text']),
|
| 363 |
})
|
| 364 |
|
| 365 |
-
public_url = ngrok.connect(8300)
|
| 366 |
-
print(f"Public URL: {public_url}")
|
| 367 |
|
| 368 |
if __name__ == "__main__":
|
| 369 |
-
uvicorn.run(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 362 |
"total_sentence": len(df_merged['text']),
|
| 363 |
})
|
| 364 |
|
|
|
|
|
|
|
| 365 |
|
| 366 |
if __name__ == "__main__":
|
| 367 |
+
uvicorn.run(
|
| 368 |
+
app,
|
| 369 |
+
host="0.0.0.0",
|
| 370 |
+
port=7860,
|
| 371 |
+
reload=False
|
| 372 |
+
)
|