fffiloni commited on
Commit
42456ee
1 Parent(s): a398fde

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
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://sanchit-gandhi-whisper-large-v2.hf.space/")
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