Spaces:
Running
on
Zero
Running
on
Zero
SunderAli17
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -215,27 +215,27 @@ def create_demo(args, model_name: str, device: str = "cuda" if torch.cuda.is_ava
|
|
215 |
intermediate_output = gr.Gallery(label='Output', elem_id="gallery", visible=args.dev)
|
216 |
|
217 |
|
218 |
-
with gr.Row(), gr.Column():
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
|
240 |
generate_btn.click(
|
241 |
fn=generate_image,
|
|
|
215 |
intermediate_output = gr.Gallery(label='Output', elem_id="gallery", visible=args.dev)
|
216 |
|
217 |
|
218 |
+
# with gr.Row(), gr.Column():
|
219 |
+
# gr.Markdown("## Examples")
|
220 |
+
# example_inps = [
|
221 |
+
# [
|
222 |
+
# 'a high quality digital cartoon avatar eating ice cream',
|
223 |
+
# 'sample_img/image1.png',
|
224 |
+
# 0, 4, -1, 1
|
225 |
+
# ],
|
226 |
+
# [
|
227 |
+
# 'a high quality anime character with mountains and lakes in the background',
|
228 |
+
# 'sample_img/test1.jpg',
|
229 |
+
# 0, 4, -1, 1
|
230 |
+
# ],
|
231 |
+
# [
|
232 |
+
# 'a high quality photorealistic image with VR technology atmosphere, revolutionary exceptional magnum with remarkable details',
|
233 |
+
# 'sample_img/test24.jpg',
|
234 |
+
# 0, 4, -1, 1
|
235 |
+
# ]
|
236 |
+
# ]
|
237 |
+
# gr.Examples(examples=example_inps, inputs=[prompt, id_image, start_step, guidance, seed, true_cfg],
|
238 |
+
# label='fake CFG')
|
239 |
|
240 |
generate_btn.click(
|
241 |
fn=generate_image,
|