Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ with gr.Blocks(css=css) as demo:
|
|
77 |
prompt = gr.Text(
|
78 |
label="Prompt",
|
79 |
show_label=False,
|
80 |
-
max_lines=
|
81 |
placeholder="Enter your prompt",
|
82 |
container=False,
|
83 |
)
|
@@ -127,7 +127,7 @@ with gr.Blocks(css=css) as demo:
|
|
127 |
minimum=0.0,
|
128 |
maximum=10.0,
|
129 |
step=0.1,
|
130 |
-
value=
|
131 |
)
|
132 |
|
133 |
num_inference_steps = gr.Slider(
|
@@ -135,7 +135,7 @@ with gr.Blocks(css=css) as demo:
|
|
135 |
minimum=1,
|
136 |
maximum=50,
|
137 |
step=1,
|
138 |
-
value=
|
139 |
)
|
140 |
|
141 |
gr.Examples(examples=examples, inputs=[prompt])
|
|
|
77 |
prompt = gr.Text(
|
78 |
label="Prompt",
|
79 |
show_label=False,
|
80 |
+
max_lines=5,
|
81 |
placeholder="Enter your prompt",
|
82 |
container=False,
|
83 |
)
|
|
|
127 |
minimum=0.0,
|
128 |
maximum=10.0,
|
129 |
step=0.1,
|
130 |
+
value=7.0, # Replace with defaults that work for your model
|
131 |
)
|
132 |
|
133 |
num_inference_steps = gr.Slider(
|
|
|
135 |
minimum=1,
|
136 |
maximum=50,
|
137 |
step=1,
|
138 |
+
value=30, # Replace with defaults that work for your model
|
139 |
)
|
140 |
|
141 |
gr.Examples(examples=examples, inputs=[prompt])
|