Spaces:
Sleeping
Sleeping
fix starting with server name
Browse files
app.py
CHANGED
|
@@ -28,5 +28,5 @@ with gr.Blocks(title="Tables Extractor", theme=gr.themes.Soft()) as demo:
|
|
| 28 |
status, downloads, gallery, html_view])
|
| 29 |
|
| 30 |
if __name__ == "__main__":
|
| 31 |
-
demo.launch(server_name="
|
| 32 |
-
os.getenv("PORT", "7860")), debug=not IN_SPACES)
|
|
|
|
| 28 |
status, downloads, gallery, html_view])
|
| 29 |
|
| 30 |
if __name__ == "__main__":
|
| 31 |
+
demo.launch(server_name="0.0.0.0", server_port=int(
|
| 32 |
+
os.getenv("PORT", "7860")), debug=not IN_SPACES)
|