Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -141,5 +141,6 @@ with gr.Blocks(title="Hindi Tokenizer") as demo:
|
|
| 141 |
if "app" not in globals():
|
| 142 |
app = gr.mount_gradio_app(api, demo, path="/gradio")
|
| 143 |
|
|
|
|
| 144 |
if __name__ == "__main__":
|
| 145 |
-
demo.launch(server_port=7860, share=
|
|
|
|
| 141 |
if "app" not in globals():
|
| 142 |
app = gr.mount_gradio_app(api, demo, path="/gradio")
|
| 143 |
|
| 144 |
+
|
| 145 |
if __name__ == "__main__":
|
| 146 |
+
demo.launch(server_name="0.0.0.0", server_port=int(os.environ.get("PORT", 7860)), share=True)
|