Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,9 +7,11 @@ model = gr.load("models/stablediffusionapi/juggernaut-xl-v5")
|
|
| 7 |
iface = gr.Interface(
|
| 8 |
fn=model,
|
| 9 |
live=True,
|
| 10 |
-
title="
|
| 11 |
description="",
|
| 12 |
-
|
|
|
|
|
|
|
| 13 |
)
|
| 14 |
|
| 15 |
# Launch the customized interface
|
|
|
|
| 7 |
iface = gr.Interface(
|
| 8 |
fn=model,
|
| 9 |
live=True,
|
| 10 |
+
title="Text-to-Image Generator",
|
| 11 |
description="",
|
| 12 |
+
inputs="text",
|
| 13 |
+
outputs="image", # Set outputs to "image" for image output
|
| 14 |
+
button="Generate", # Set the button name to "Generate"
|
| 15 |
)
|
| 16 |
|
| 17 |
# Launch the customized interface
|