alex commited on
Commit
a921995
·
1 Parent(s): f498d85

issue fixed

Browse files
Files changed (1) hide show
  1. app.py +0 -11
app.py CHANGED
@@ -259,17 +259,6 @@ with gr.Blocks(css=css) as demo:
259
  # Image section
260
  image = gr.Image(type="filepath", label="Image", height=512)
261
 
262
- if args.use_image_gen:
263
- with gr.Accordion("🖼️ Image Generation Options", visible=True):
264
- image_text_prompt = gr.Textbox(label="Image Prompt", placeholder="Describe the image you want to generate...")
265
- image_seed = gr.Number(minimum=0, maximum=100000, value=42, label="Image Seed")
266
- image_height = gr.Number(minimum=128, maximum=1280, value=720, step=32, label="Image Height")
267
- image_width = gr.Number(minimum=128, maximum=1280, value=1280, step=32, label="Image Width")
268
- gen_img_btn = gr.Button("Generate Image 🎨")
269
- else:
270
- gen_img_btn = None
271
-
272
-
273
  video_text_prompt = gr.Textbox(label="Video Prompt",
274
  lines=5,
275
  placeholder="Describe your video...")
 
259
  # Image section
260
  image = gr.Image(type="filepath", label="Image", height=512)
261
 
 
 
 
 
 
 
 
 
 
 
 
262
  video_text_prompt = gr.Textbox(label="Video Prompt",
263
  lines=5,
264
  placeholder="Describe your video...")