Spaces:
Running
on
Zero
Running
on
Zero
Commit
β’
8384b0f
1
Parent(s):
004fa99
remove img (#4)
Browse files- remove img (6c90d7e5ec4c7eaf445aa2a53c6634d8b37146f8)
Co-authored-by: yongxinzhu <zyx123@users.noreply.huggingface.co>
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=[
|