Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
from gradio_client import Client, handle_file
|
2 |
-
|
|
|
|
|
3 |
|
4 |
# client = Client("ResembleAI/Chatterbox")
|
5 |
# result = client.predict(
|
|
|
1 |
from gradio_client import Client, handle_file
|
2 |
+
import os
|
3 |
+
hf_token=os.getenv("your_huggingface_token")
|
4 |
+
client = Client("ResembleAI/Chatterbox", hf_token)
|
5 |
|
6 |
# client = Client("ResembleAI/Chatterbox")
|
7 |
# result = client.predict(
|