Spaces:
Running
Running
Update app.py
Browse files
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 |
+
|