Spaces:
Running
Running
Commit
·
b3c57b8
1
Parent(s):
82282d6
Update app.py
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ def generate_txt2img(current_model, prompt, is_negative=False, image_style="None
|
|
78 |
return image
|
79 |
|
80 |
gr.Interface(
|
81 |
-
fn=
|
82 |
inputs=[
|
83 |
gr.inputs.Dropdown(label="Current Model", choices=list_models, default=list_models[1]),
|
84 |
gr.inputs.Textbox(label="Prompt", placeholder="a cute dog", lines=1),
|
|
|
78 |
return image
|
79 |
|
80 |
gr.Interface(
|
81 |
+
fn=generate_txt2img,
|
82 |
inputs=[
|
83 |
gr.inputs.Dropdown(label="Current Model", choices=list_models, default=list_models[1]),
|
84 |
gr.inputs.Textbox(label="Prompt", placeholder="a cute dog", lines=1),
|