tharun1507 commited on
Commit
f9526d7
·
verified ·
1 Parent(s): c8848c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from huggingface_hub import InferenceClient
3
 
4
  # ✅ Add your Hugging Face API token here
5
- client = InferenceClient("HuggingFaceH4/zephyr-7b-beta", token="hf_api_token")
6
 
7
  def explain_and_run_code(code_snippet):
8
  system_message = "You are an expert assistant that explains Python code snippets clearly and concisely."
 
2
  from huggingface_hub import InferenceClient
3
 
4
  # ✅ Add your Hugging Face API token here
5
+ client = InferenceClient("HuggingFaceH4/zephyr-7b-beta", token=hf_api_token)
6
 
7
  def explain_and_run_code(code_snippet):
8
  system_message = "You are an expert assistant that explains Python code snippets clearly and concisely."