Update app_base.py
Browse files- app_base.py +2 -2
app_base.py
CHANGED
|
@@ -2,7 +2,7 @@ import streamlit as st
|
|
| 2 |
import requests
|
| 3 |
|
| 4 |
# Hugging Face API URL
|
| 5 |
-
API_URL = "https://api-inference.huggingface.co/models/deepseek-ai/DeepSeek-R1-Distill-Qwen-
|
| 6 |
|
| 7 |
# Function to query the Hugging Face API
|
| 8 |
def query(payload):
|
|
@@ -11,7 +11,7 @@ def query(payload):
|
|
| 11 |
return response.json()
|
| 12 |
|
| 13 |
# Streamlit app
|
| 14 |
-
st.title("
|
| 15 |
|
| 16 |
# Input text box
|
| 17 |
user_input = st.text_input("Enter your message:")
|
|
|
|
| 2 |
import requests
|
| 3 |
|
| 4 |
# Hugging Face API URL
|
| 5 |
+
API_URL = "https://api-inference.huggingface.co/models/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B"
|
| 6 |
|
| 7 |
# Function to query the Hugging Face API
|
| 8 |
def query(payload):
|
|
|
|
| 11 |
return response.json()
|
| 12 |
|
| 13 |
# Streamlit app
|
| 14 |
+
st.title("")
|
| 15 |
|
| 16 |
# Input text box
|
| 17 |
user_input = st.text_input("Enter your message:")
|