hashirehtisham commited on
Commit
fa10ae3
·
verified ·
1 Parent(s): af43630

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,4 +1,5 @@
1
  import gradio as gr
 
2
  from huggingface_hub import InferenceClient
3
 
4
  # CSS to hide footer and customize button
@@ -69,7 +70,9 @@ footer {display:none !important}
69
  """
70
 
71
  # Initialize the InferenceClient for chatbot
72
- client = InferenceClient("HuggingFaceH4/zephyr-7b-alpha")
 
 
73
 
74
  # Define the function for chatbot response
75
  def respond(
 
1
  import gradio as gr
2
+ import os
3
  from huggingface_hub import InferenceClient
4
 
5
  # CSS to hide footer and customize button
 
70
  """
71
 
72
  # Initialize the InferenceClient for chatbot
73
+ client = InferenceClient(
74
+ model="microsoft/phi-4",
75
+ token=os.getenv("HF_TOKEN1")
76
 
77
  # Define the function for chatbot response
78
  def respond(