LT4Ryan commited on
Commit
243fd08
·
verified ·
1 Parent(s): daaafbf

API updates

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,8 +1,8 @@
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
 
4
- # Replace the model name with the NVIDIA Parakeet model
5
- client = InferenceClient("nvidia/parakeet-medium")
6
 
7
 
8
  def respond(
 
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
 
4
+ # Replace 'YOUR_API_TOKEN' with your actual Hugging Face API token
5
+ client = InferenceClient("nvidia/parakeet-tdt-0.6b-v2", api_token="YOUR_API_TOKEN")
6
 
7
 
8
  def respond(