Spaces:
Running
on
Zero
Running
on
Zero
Prime Cai
commited on
Commit
·
d9e721f
1
Parent(s):
72c8201
fix link
Browse files
app.py
CHANGED
|
@@ -132,7 +132,7 @@ with demo:
|
|
| 132 |
iface = gr.Interface(
|
| 133 |
fn=generate_image,
|
| 134 |
inputs=[
|
| 135 |
-
gr.Image(type="pil"),
|
| 136 |
gr.Textbox(lines=2, label="text", info="Could be something as simple as 'this character playing soccer'."),
|
| 137 |
gr.Checkbox(label="Gemini prompt", value=True, info="Use Gemini to enhance the prompt. This is recommended for most cases, unless you have a specific prompt similar to the examples in mind."),
|
| 138 |
gr.Slider(minimum=1.0, maximum=6.0, step=0.5, value=3.5, label="guidance scale", info="tip: start with 3.5, then gradually increase if the consistency is consistently off"),
|
|
|
|
| 132 |
iface = gr.Interface(
|
| 133 |
fn=generate_image,
|
| 134 |
inputs=[
|
| 135 |
+
gr.Image(type="pil", width=512),
|
| 136 |
gr.Textbox(lines=2, label="text", info="Could be something as simple as 'this character playing soccer'."),
|
| 137 |
gr.Checkbox(label="Gemini prompt", value=True, info="Use Gemini to enhance the prompt. This is recommended for most cases, unless you have a specific prompt similar to the examples in mind."),
|
| 138 |
gr.Slider(minimum=1.0, maximum=6.0, step=0.5, value=3.5, label="guidance scale", info="tip: start with 3.5, then gradually increase if the consistency is consistently off"),
|