umertayyeb commited on
Commit
de6fe87
·
verified ·
1 Parent(s): 82cfdd6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,5 +1,7 @@
1
  from gradio_client import Client, handle_file
2
- client = Client("ResembleAI/Chatterbox", hf_token="your_huggingface_token")
 
 
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(