Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import requests
|
3 |
|
4 |
# Define the Hugging Face API endpoint and add your Hugging Face token
|
5 |
-
api_url = "https://api-inference.huggingface.co/models/Qwen/
|
6 |
headers = {"Authorization": "Bearer YOUR_HUGGINGFACE_TOKEN"} # Replace with your token
|
7 |
|
8 |
# Define a function to send prompts to the model and get responses
|
|
|
2 |
import requests
|
3 |
|
4 |
# Define the Hugging Face API endpoint and add your Hugging Face token
|
5 |
+
api_url = "https://api-inference.huggingface.co/models/Qwen/Qwen2.5-72B-Instruct"
|
6 |
headers = {"Authorization": "Bearer YOUR_HUGGINGFACE_TOKEN"} # Replace with your token
|
7 |
|
8 |
# Define a function to send prompts to the model and get responses
|