Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -18,12 +18,12 @@ def generate_image(text, model_name):
|
|
18 |
interface = gr.Interface(
|
19 |
fn=generate_image,
|
20 |
inputs=[
|
21 |
-
gr.Textbox(label="Type here your imagination
|
22 |
-
gr.Dropdown(label="Select Model", choices=list(models.keys()),
|
23 |
],
|
24 |
outputs=gr.Image(label="Generated Image"),
|
25 |
theme="NoCrypt/miku",
|
26 |
description="Sorry for the inconvenience. The model is currently running on the CPU, which might affect performance. We appreciate your understanding.",
|
27 |
)
|
28 |
|
29 |
-
interface.launch()
|
|
|
18 |
interface = gr.Interface(
|
19 |
fn=generate_image,
|
20 |
inputs=[
|
21 |
+
gr.Textbox(label="Type here your Honny imagination 😁:", placeholder="Type your description here..."),
|
22 |
+
gr.Dropdown(label="Select Model", choices=list(models.keys()), value="Flux Lora")
|
23 |
],
|
24 |
outputs=gr.Image(label="Generated Image"),
|
25 |
theme="NoCrypt/miku",
|
26 |
description="Sorry for the inconvenience. The model is currently running on the CPU, which might affect performance. We appreciate your understanding.",
|
27 |
)
|
28 |
|
29 |
+
interface.launch()
|