Spaces:
Running
Running
Tobias Geisler commited on
Commit ·
9af483f
1
Parent(s): a68a3ae
add queuing and password
Browse files
app.py
CHANGED
|
@@ -60,9 +60,8 @@ iface = gr.Interface(
|
|
| 60 |
],
|
| 61 |
outputs=[gr.Text(label="Prompt"), gr.Image(label="Generated Image")],
|
| 62 |
title="Profile Picture Generator",
|
| 63 |
-
description="Enter the attributes for your profile picture."
|
| 64 |
-
queue=True # Enable queuing for the image generation process
|
| 65 |
)
|
| 66 |
|
| 67 |
-
# Run the Gradio app
|
| 68 |
-
iface.launch()
|
|
|
|
| 60 |
],
|
| 61 |
outputs=[gr.Text(label="Prompt"), gr.Image(label="Generated Image")],
|
| 62 |
title="Profile Picture Generator",
|
| 63 |
+
description="Enter the attributes for your profile picture."
|
|
|
|
| 64 |
)
|
| 65 |
|
| 66 |
+
# Run the Gradio app with queuing enabled
|
| 67 |
+
iface.launch(queue=True)
|