Update app.py
Browse files
app.py
CHANGED
@@ -37,8 +37,9 @@ 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 |
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 |
-
|
44 |
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 |
+
title='Text to Image',
|
41 |
examples=[["Portrait close up, Elvis Presley, concert hall in the background"],
|
42 |
["Marvel Blackwidow portrait close up. building city background"],
|
43 |
+
["A white rabbit wizard, Hogwart University, Castle in the background"])
|
44 |
+
|
45 |
sandbox.queue(concurrency_count=20).launch()
|