duwa656 commited on
Commit
3b739f0
·
verified ·
1 Parent(s): bb31be7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,8 +1,10 @@
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
 
 
 
4
  # Initialize the Hugging Face model client
5
- client = InferenceClient("HuggingFaceH4/zephyr-7b-beta") # Change to your preferred model
6
 
7
  # Map descriptive length to token count
8
  length_map = {
 
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
 
4
+
5
+
6
  # Initialize the Hugging Face model client
7
+ client = InferenceClient("HuggingFaceH4/zephyr-7b-beta", token=HF_TOKEN_GEEKS) # Change to your preferred model
8
 
9
  # Map descriptive length to token count
10
  length_map = {