Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,13 @@
|
|
1 |
import gradio as gr
|
2 |
from gradio_client import Client
|
3 |
|
|
|
|
|
|
|
|
|
4 |
splt_client = Client("https://fffiloni-splittrack2musicgen.hf.space/")
|
5 |
#whisper_client = Client("https://sanchit-gandhi-whisper-jax.hf.space/")
|
6 |
-
whisper_client = Client("https://
|
7 |
|
8 |
import re
|
9 |
|
|
|
1 |
import gradio as gr
|
2 |
from gradio_client import Client
|
3 |
|
4 |
+
import os
|
5 |
+
hf_token = os.environ.get('HF_TOKEN')
|
6 |
+
|
7 |
+
|
8 |
splt_client = Client("https://fffiloni-splittrack2musicgen.hf.space/")
|
9 |
#whisper_client = Client("https://sanchit-gandhi-whisper-jax.hf.space/")
|
10 |
+
whisper_client = Client("https://fffiloni-whisper-large-v2.hf.space/", hf_token=hf_token)
|
11 |
|
12 |
import re
|
13 |
|