Commit ·
38b5657
1
Parent(s): f642fde
restart
Browse files- __pycache__/app.cpython-312.pyc +0 -0
- __pycache__/utils.cpython-312.pyc +0 -0
- app.py +3 -3
- requirements.txt +2 -1
__pycache__/app.cpython-312.pyc
ADDED
|
Binary file (16.3 kB). View file
|
|
|
__pycache__/utils.cpython-312.pyc
ADDED
|
Binary file (6.02 kB). View file
|
|
|
app.py
CHANGED
|
@@ -393,7 +393,7 @@ with gr.Blocks() as demo:
|
|
| 393 |
|
| 394 |
if __name__ == "__main__":
|
| 395 |
demo.launch(
|
| 396 |
-
server_name="0.0.0.0",
|
| 397 |
-
server_port=7860,
|
| 398 |
auth=get_gradio_auth(),
|
| 399 |
-
)
|
|
|
|
| 393 |
|
| 394 |
if __name__ == "__main__":
|
| 395 |
demo.launch(
|
| 396 |
+
server_name=os.getenv("GRADIO_SERVER_NAME", "0.0.0.0"),
|
| 397 |
+
server_port=int(os.getenv("PORT", "7860")),
|
| 398 |
auth=get_gradio_auth(),
|
| 399 |
+
)
|
requirements.txt
CHANGED
|
@@ -1,2 +1,3 @@
|
|
| 1 |
gradio==6.9.0
|
| 2 |
-
jinja2
|
|
|
|
|
|
| 1 |
gradio==6.9.0
|
| 2 |
+
jinja2
|
| 3 |
+
requests
|