Spaces:
Runtime error
Runtime error
updated app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
import gradio as gr
|
2 |
import transformers
|
3 |
import librosa
|
|
|
|
|
|
|
|
|
4 |
|
5 |
# Load pipeline
|
6 |
pipe = transformers.pipeline(model='fixie-ai/ultravox-v0_5-llama-3_1-8b', trust_remote_code=True)
|
|
|
1 |
import gradio as gr
|
2 |
import transformers
|
3 |
import librosa
|
4 |
+
from huggingface_hub import login
|
5 |
+
import os
|
6 |
+
|
7 |
+
login(token=os.getenv("HF_TOKEN"))
|
8 |
|
9 |
# Load pipeline
|
10 |
pipe = transformers.pipeline(model='fixie-ai/ultravox-v0_5-llama-3_1-8b', trust_remote_code=True)
|