786avinash commited on
Commit
821100c
·
verified ·
1 Parent(s): d42b7a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -141,4 +141,10 @@ interface = gr.Interface(
141
  )
142
 
143
  # ✅ Launch Gradio App
144
- interface.launch(server_name="0.0.0.0", server_port=7860, show_api=True, allow_origin=True)
 
 
 
 
 
 
 
141
  )
142
 
143
  # ✅ Launch Gradio App
144
+ interface.launch(
145
+ server_name="0.0.0.0",
146
+ server_port=7860,
147
+ show_api=True,
148
+ cors_allowed_origins=["*"] # Allows access from any frontend
149
+ )
150
+