Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -96,7 +96,7 @@ def inference(
|
|
96 |
elif task == "audio-text":
|
97 |
result = audio_text_zeroshot(audio, text_list)
|
98 |
elif task == "video-text":
|
99 |
-
result = video_text_zeroshot(
|
100 |
else:
|
101 |
raise NotImplementedError
|
102 |
return result
|
@@ -117,7 +117,7 @@ def main():
|
|
117 |
gr.inputs.Textbox(lines=1, label="Candidate texts"),
|
118 |
gr.inputs.Image(type="filepath", label="Input image"),
|
119 |
gr.inputs.Audio(type="filepath", label="Input audio"),
|
120 |
-
gr.inputs.Image(type="filepath", label="Input
|
121 |
]
|
122 |
|
123 |
iface = gr.Interface(
|
|
|
96 |
elif task == "audio-text":
|
97 |
result = audio_text_zeroshot(audio, text_list)
|
98 |
elif task == "video-text":
|
99 |
+
result = video_text_zeroshot(image, text_list)
|
100 |
else:
|
101 |
raise NotImplementedError
|
102 |
return result
|
|
|
117 |
gr.inputs.Textbox(lines=1, label="Candidate texts"),
|
118 |
gr.inputs.Image(type="filepath", label="Input image"),
|
119 |
gr.inputs.Audio(type="filepath", label="Input audio"),
|
120 |
+
gr.inputs.Image(type="filepath", label="Input image2"),
|
121 |
]
|
122 |
|
123 |
iface = gr.Interface(
|