Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -170,6 +170,11 @@ with gr.Blocks(title="IndicBART CPU Multilingual Assistant", theme=gr.themes.Sof
|
|
| 170 |
clear_fields,
|
| 171 |
outputs=[input_text, output_text]
|
| 172 |
)
|
| 173 |
-
|
| 174 |
if __name__ == "__main__":
|
| 175 |
-
demo.launch(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 170 |
clear_fields,
|
| 171 |
outputs=[input_text, output_text]
|
| 172 |
)
|
|
|
|
| 173 |
if __name__ == "__main__":
|
| 174 |
+
demo.launch(
|
| 175 |
+
share=True,
|
| 176 |
+
ssr_mode=False, # Disable SSR mode to fix the 500 error
|
| 177 |
+
server_name="0.0.0.0",
|
| 178 |
+
server_port=7860,
|
| 179 |
+
show_error=True
|
| 180 |
+
)
|