Spaces:
Running
Running
Rivalcoder
commited on
Commit
·
dcdeeb3
1
Parent(s):
7539cb9
Edit
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def read_root():
|
|
39 |
return {"message": "Welcome to the YouTube Transcript API!"}
|
40 |
|
41 |
# Mount Gradio interface to FastAPI app
|
42 |
-
iface.launch(
|
43 |
|
44 |
# Launch the FastAPI app using Uvicorn
|
45 |
if __name__ == "__main__":
|
|
|
39 |
return {"message": "Welcome to the YouTube Transcript API!"}
|
40 |
|
41 |
# Mount Gradio interface to FastAPI app
|
42 |
+
iface.launch(server_name="0.0.0.0", server_port=8000, ssr_mode=False)
|
43 |
|
44 |
# Launch the FastAPI app using Uvicorn
|
45 |
if __name__ == "__main__":
|