Spaces:
Runtime error
Runtime error
Update app.py
Browse filesimport statement added
app.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import os
|
| 3 |
import requests
|
|
|
|
| 4 |
|
| 5 |
# Define your endpoint URL and subscription key
|
| 6 |
endpoint_url = "https://explosion.cognitiveservices.azure.com/computervision/retrieval/indexes/my-video-index:queryByText?api-version=2023-05-01-preview"
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import os
|
| 3 |
import requests
|
| 4 |
+
from dir import videoIndexer
|
| 5 |
|
| 6 |
# Define your endpoint URL and subscription key
|
| 7 |
endpoint_url = "https://explosion.cognitiveservices.azure.com/computervision/retrieval/indexes/my-video-index:queryByText?api-version=2023-05-01-preview"
|