Thanush1 commited on
Commit
de2970a
Β·
verified Β·
1 Parent(s): a31db9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
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(share=True) # Added share=True for easier access
 
 
 
 
 
 
 
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
+ )