Spaces:
Runtime error
Runtime error
code update
Browse files
app.py
CHANGED
@@ -283,7 +283,7 @@ def image_generator_wrapper(prompt = "dog", loss_function=None):
|
|
283 |
description = "Generate an image with a prompt and apply loss if you wish to"
|
284 |
|
285 |
demo = gr.Interface(image_generator_wrapper,
|
286 |
-
inputs=[gr.Textbox(label="Enter prompt for generating", type="
|
287 |
gr.Radio(["Yes", "No"], value="No" , label="Apply vibrance loss")],
|
288 |
-
outputs=gr.Plot(), title = "Stable Diffusion", description=description)
|
289 |
demo.launch()
|
|
|
283 |
description = "Generate an image with a prompt and apply loss if you wish to"
|
284 |
|
285 |
demo = gr.Interface(image_generator_wrapper,
|
286 |
+
inputs=[gr.Textbox(label="Enter prompt for generating", type="text", default="dog sitting on a bench"),
|
287 |
gr.Radio(["Yes", "No"], value="No" , label="Apply vibrance loss")],
|
288 |
+
outputs=gr.Plot(label="Outputs"), title = "Stable Diffusion", description=description)
|
289 |
demo.launch()
|