Update app.py
Browse files
app.py
CHANGED
@@ -37,5 +37,8 @@ def process1(prompt, modelSelected):
|
|
37 |
sandbox = gradio.Interface(fn=process1,
|
38 |
inputs=[gradio.Textbox(label="Enter Prompt:"), gradio.Dropdown(model3)],
|
39 |
outputs=[gradio.Image(label="Produced Image")],
|
|
|
|
|
|
|
40 |
title='Text to Image')
|
41 |
sandbox.queue(concurrency_count=20).launch()
|
|
|
37 |
sandbox = gradio.Interface(fn=process1,
|
38 |
inputs=[gradio.Textbox(label="Enter Prompt:"), gradio.Dropdown(model3)],
|
39 |
outputs=[gradio.Image(label="Produced Image")],
|
40 |
+
examples=[["Portrait close up, Elvis Presley, concert hall in the background"],
|
41 |
+
["Marvel Blackwidow portrait close up. building city background"],
|
42 |
+
["A white rabbit wizard, Hogwart University, Castle in the background"]
|
43 |
title='Text to Image')
|
44 |
sandbox.queue(concurrency_count=20).launch()
|