Update app.py
Browse files
app.py
CHANGED
@@ -389,7 +389,7 @@ def apply_half(t):
|
|
389 |
return t
|
390 |
|
391 |
|
392 |
-
def inference(image, task_type, instruction):
|
393 |
if task_type == 'Image Captioning':
|
394 |
task = caption_task
|
395 |
models = caption_models
|
|
|
389 |
return t
|
390 |
|
391 |
|
392 |
+
def inference(image, audio, video, task_type, instruction):
|
393 |
if task_type == 'Image Captioning':
|
394 |
task = caption_task
|
395 |
models = caption_models
|