kunalkurve commited on
Commit
1116aa7
·
verified ·
1 Parent(s): f26d751

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -5,11 +5,8 @@ import gradio as gr
5
  import requests
6
  import json
7
 
8
- # Load token from environment variable
9
  HF_TOKEN = os.environ.get("HF_TOKEN")
10
-
11
- # Hugging Face Inference API URL for CodeLlama
12
- HF_API_URL = "https://api-inference.huggingface.co/models/codellama/CodeLlama-7b-Instruct-hf"
13
 
14
  headers = {
15
  "Authorization": f"Bearer {HF_TOKEN}",
 
5
  import requests
6
  import json
7
 
 
8
  HF_TOKEN = os.environ.get("HF_TOKEN")
9
+ API_URL = "https://api-inference.huggingface.co/models/Salesforce/codegen-2B-multi"
 
 
10
 
11
  headers = {
12
  "Authorization": f"Bearer {HF_TOKEN}",