fix app
Browse files
app.py
CHANGED
@@ -101,5 +101,5 @@ def inferenece(video):
|
|
101 |
result_str = '\n'.join([f'{label}: {prob:.4f}' for label, prob in top_k])
|
102 |
return result_str
|
103 |
|
104 |
-
demo = gr.
|
105 |
demo.launch()
|
|
|
101 |
result_str = '\n'.join([f'{label}: {prob:.4f}' for label, prob in top_k])
|
102 |
return result_str
|
103 |
|
104 |
+
demo = gr.Interface(fn=inferenece, inputs='video', outputs='text')
|
105 |
demo.launch()
|