Fix Gradio API compatibility
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ demo = gr.Interface(
|
|
50 |
|
51 |
# Launch the app
|
52 |
if __name__ == "__main__":
|
53 |
-
demo.queue(
|
54 |
demo.launch(
|
55 |
server_name="0.0.0.0",
|
56 |
server_port=7860,
|
|
|
50 |
|
51 |
# Launch the app
|
52 |
if __name__ == "__main__":
|
53 |
+
demo.queue() # Enable queuing for stability
|
54 |
demo.launch(
|
55 |
server_name="0.0.0.0",
|
56 |
server_port=7860,
|