Spaces:
Runtime error
Runtime error
Update run.py
Browse files
run.py
CHANGED
@@ -3,6 +3,8 @@ import gradio as gr
|
|
3 |
from utils import VideoProcessor, AzureAPI, GoogleAPI, AnthropicAPI, OpenAIAPI
|
4 |
from constraint import SYS_PROMPT, USER_PROMPT
|
5 |
from datasets import load_dataset
|
|
|
|
|
6 |
|
7 |
def load_hf_dataset(dataset_path, auth_token):
|
8 |
dataset = load_dataset(dataset_path, token=auth_token)
|
|
|
3 |
from utils import VideoProcessor, AzureAPI, GoogleAPI, AnthropicAPI, OpenAIAPI
|
4 |
from constraint import SYS_PROMPT, USER_PROMPT
|
5 |
from datasets import load_dataset
|
6 |
+
import tempfile
|
7 |
+
import requests
|
8 |
|
9 |
def load_hf_dataset(dataset_path, auth_token):
|
10 |
dataset = load_dataset(dataset_path, token=auth_token)
|