leonarb commited on
Commit
9d46b18
·
verified ·
1 Parent(s): 99e3331

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -117,4 +117,11 @@ iface = gr.Interface(
117
  )
118
 
119
  if __name__ == "__main__":
120
- iface.launch()
 
 
 
 
 
 
 
 
117
  )
118
 
119
  if __name__ == "__main__":
120
+ iface.launch(
121
+ server_name="0.0.0.0", # Required to make app publicly accessible
122
+ server_port=7860, # Can be changed if needed
123
+ share=True, # Optional: creates a public Gradio link if supported
124
+ debug=True, # Optional: helpful if you're troubleshooting
125
+ allowed_paths=["/tmp"] # Optional: makes it explicit that Gradio can write here
126
+ )
127
+