Update app.py
Browse files
app.py
CHANGED
|
@@ -203,6 +203,13 @@ with gr.Blocks(theme=gr.themes.Origin(),css=css) as demo:
|
|
| 203 |
placeholder="Enter your prompt",
|
| 204 |
container=False,
|
| 205 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 206 |
run_button = gr.Button("Run", scale=0, variant="primary")
|
| 207 |
result = gr.Image(label="Result", show_label=False)
|
| 208 |
with gr.Accordion("Advanced Settings", open=True):
|
|
|
|
| 203 |
placeholder="Enter your prompt",
|
| 204 |
container=False,
|
| 205 |
)
|
| 206 |
+
text_strength = gr.Slider(
|
| 207 |
+
label="Text Strength",
|
| 208 |
+
minimum=0.0,
|
| 209 |
+
maximum=16.0,
|
| 210 |
+
step=0.01,
|
| 211 |
+
value=1.0,
|
| 212 |
+
)
|
| 213 |
run_button = gr.Button("Run", scale=0, variant="primary")
|
| 214 |
result = gr.Image(label="Result", show_label=False)
|
| 215 |
with gr.Accordion("Advanced Settings", open=True):
|