TalloneAI commited on
Commit
797413b
·
verified ·
1 Parent(s): 7b91879

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import requests
3
  import gradio as gr
4
 
5
  HUGGINGFACE_API_TOKEN = os.getenv("HUGGINGFACE_API_TOKEN")
6
- MODEL_NAME = "meta-llama/Llama-3.1-70B-Instruct" # ✅ 直接可用的免费模型
7
 
8
  def query_huggingface_api(prompt):
9
  API_URL = f"https://api-inference.huggingface.co/models/{MODEL_NAME}"
 
3
  import gradio as gr
4
 
5
  HUGGINGFACE_API_TOKEN = os.getenv("HUGGINGFACE_API_TOKEN")
6
+ MODEL_NAME = "deepseek-ai/DeepSeek-Coder-V2-Instruct" # ✅ 直接可用的免费模型
7
 
8
  def query_huggingface_api(prompt):
9
  API_URL = f"https://api-inference.huggingface.co/models/{MODEL_NAME}"