Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -226,7 +226,8 @@ with gr.Blocks(title='VideoLLaMA 2 πŸ”₯πŸš€πŸ”₯', theme=theme, css=block_css) as
226
 
227
  with gr.Row():
228
  with gr.Column(scale=3):
229
- image = gr.Image(label="Input Image", type="filepath")
 
230
  video = gr.Video(label="Input Video")
231
  audio = gr.Audio(label="Input Audio", type="filepath")
232
 
@@ -286,7 +287,7 @@ with gr.Blocks(title='VideoLLaMA 2 πŸ”₯πŸš€πŸ”₯', theme=theme, css=block_css) as
286
 
287
  with gr.Row():
288
  cur_dir = os.path.dirname(os.path.abspath(__file__))
289
-
290
  with gr.Column():
291
  gr.Examples(
292
  examples=[
@@ -301,7 +302,7 @@ with gr.Blocks(title='VideoLLaMA 2 πŸ”₯πŸš€πŸ”₯', theme=theme, css=block_css) as
301
  ],
302
  inputs=[image, textbox],
303
  )
304
-
305
  with gr.Column():
306
  gr.Examples(
307
  examples=[
 
226
 
227
  with gr.Row():
228
  with gr.Column(scale=3):
229
+ #image = gr.Image(label="Input Image", type="filepath")
230
+ image = None
231
  video = gr.Video(label="Input Video")
232
  audio = gr.Audio(label="Input Audio", type="filepath")
233
 
 
287
 
288
  with gr.Row():
289
  cur_dir = os.path.dirname(os.path.abspath(__file__))
290
+ '''
291
  with gr.Column():
292
  gr.Examples(
293
  examples=[
 
302
  ],
303
  inputs=[image, textbox],
304
  )
305
+ '''
306
  with gr.Column():
307
  gr.Examples(
308
  examples=[