Spaces:
Running
on
Zero
Running
on
Zero
ameerazam08
commited on
Commit
•
0c137f6
1
Parent(s):
ed9a9ee
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ import gradio as gr
|
|
8 |
import os
|
9 |
from huggingface_hub import login
|
10 |
hf_token = os.getenv('HF_TOKEN')
|
11 |
-
login(token=hf_token)
|
12 |
|
13 |
# Define the function to generate audio
|
14 |
@spaces.GPU()
|
|
|
8 |
import os
|
9 |
from huggingface_hub import login
|
10 |
hf_token = os.getenv('HF_TOKEN')
|
11 |
+
login(token=hf_token,add_to_git_credential=True)
|
12 |
|
13 |
# Define the function to generate audio
|
14 |
@spaces.GPU()
|