Spaces:
Runtime error
Runtime error
disable scale
Browse files
app.py
CHANGED
@@ -88,8 +88,8 @@ def predict(
|
|
88 |
view_batch_size=16,
|
89 |
stride=64,
|
90 |
generator=generator,
|
91 |
-
num_inference_steps=
|
92 |
-
guidance_scale=
|
93 |
cosine_scale_1=3,
|
94 |
cosine_scale_2=1,
|
95 |
cosine_scale_3=1,
|
@@ -165,8 +165,8 @@ GPU Time Comparison: T4: ~276s - A10G: ~113.6s A100: ~43.5s RTX 4090: ~48.1s
|
|
165 |
with gr.Column(scale=2):
|
166 |
image_slider = ImageSlider()
|
167 |
files = gr.Files()
|
168 |
-
inputs = [image_input, prompt, negative_prompt, seed, scale]
|
169 |
-
|
170 |
outputs = [image_slider, files]
|
171 |
btn.click(predict, inputs=inputs, outputs=outputs, concurrency_limit=1)
|
172 |
gr.Examples(
|
|
|
88 |
view_batch_size=16,
|
89 |
stride=64,
|
90 |
generator=generator,
|
91 |
+
num_inference_steps=40,
|
92 |
+
guidance_scale=8.5,
|
93 |
cosine_scale_1=3,
|
94 |
cosine_scale_2=1,
|
95 |
cosine_scale_3=1,
|
|
|
165 |
with gr.Column(scale=2):
|
166 |
image_slider = ImageSlider()
|
167 |
files = gr.Files()
|
168 |
+
# inputs = [image_input, prompt, negative_prompt, seed, scale]
|
169 |
+
inputs = [image_input, prompt, negative_prompt, seed]
|
170 |
outputs = [image_slider, files]
|
171 |
btn.click(predict, inputs=inputs, outputs=outputs, concurrency_limit=1)
|
172 |
gr.Examples(
|