Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -16,6 +16,7 @@ duplicate_button = gr.DuplicateButton(value="Duplicate Space for private use", e
|
|
16 |
|
17 |
gradio_interface = Interface(
|
18 |
fn=text_to_image,
|
|
|
19 |
inputs=[
|
20 |
gr.Textbox(label="Prompt", lines=2, placeholder="Enter your prompt here..."),
|
21 |
gr.Textbox(label="Negative Prompt", lines=2, placeholder="What to exclude from the image..."),
|
|
|
16 |
|
17 |
gradio_interface = Interface(
|
18 |
fn=text_to_image,
|
19 |
+
allow_duplication=True,
|
20 |
inputs=[
|
21 |
gr.Textbox(label="Prompt", lines=2, placeholder="Enter your prompt here..."),
|
22 |
gr.Textbox(label="Negative Prompt", lines=2, placeholder="What to exclude from the image..."),
|