sivakorn-su commited on
Commit
a0b5df4
·
1 Parent(s): 6a3ba36
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -362,8 +362,10 @@ 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(app, host="0.0.0.0", port=8300)
 
 
 
 
 
 
362
  "total_sentence": len(df_merged['text']),
363
  })
364
 
 
 
 
365
  if __name__ == "__main__":
366
+ uvicorn.run(
367
+ app,
368
+ host="0.0.0.0",
369
+ port=7860, # Hugging Face ใช้ port 7860
370
+ reload=False
371
+ )