ansar-y0usif commited on
Commit
b2120dd
·
verified ·
1 Parent(s): 7a50d04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1108,7 +1108,8 @@ if __name__ == "__main__":
1108
  share=False, # Set to True if you want to create a public link
1109
  server_name="0.0.0.0", # Allow connections from any IP
1110
  server_port=7860, # Default Gradio port
1111
- show_error=True # Show errors in the interface
 
1112
  )
1113
 
1114
  except Exception as e:
 
1108
  share=False, # Set to True if you want to create a public link
1109
  server_name="0.0.0.0", # Allow connections from any IP
1110
  server_port=7860, # Default Gradio port
1111
+ show_error=True, # Show errors in the interface
1112
+ ssr_mode=False # Disable experimental SSR (prevents 405 error)
1113
  )
1114
 
1115
  except Exception as e: