Spaces:
Runtime error
Runtime error
Commit
·
4a4612d
1
Parent(s):
3de3ba6
Update app.py
Browse files
app.py
CHANGED
@@ -54,13 +54,13 @@ demo = gr.Interface(
|
|
54 |
#""",
|
55 |
fn=drawImage,
|
56 |
inputs=[
|
57 |
-
|
58 |
##"file"
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
outputs="image")
|
65 |
|
66 |
#with blocks (css=".gradio-container {background-color: red}") as demo:
|
|
|
54 |
#""",
|
55 |
fn=drawImage,
|
56 |
inputs=[
|
57 |
+
gr.Textbox(placeholder="shift + enter for new line",label="what do you want to say?"),
|
58 |
##"file"
|
59 |
+
gr.Number(label="text size",value=240),
|
60 |
+
gr.Textbox(placeholder="eg. imagery, art style, materials, emotions",label="how does your message look and feel?"), #figure out models in series
|
61 |
+
gr.Slider(label="strength (how much noise will be added to the input image)",minimum=0, maximum=1, step=0.01, value=0.7),
|
62 |
+
gr.Slider(label="guidance scale (how much the image generation follows the prompt)",value=15, maximum=20),
|
63 |
+
],
|
64 |
outputs="image")
|
65 |
|
66 |
#with blocks (css=".gradio-container {background-color: red}") as demo:
|