Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ st.title("DeepSeek Chatbot")
|
|
19 |
prompt = st.text_input("Enter your message:")
|
20 |
|
21 |
if st.button("Run"):
|
22 |
-
messages = [{"role": "user", "content":
|
23 |
pipe = pipeline("text-generation", model="deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B", trust_remote_code=True)
|
24 |
response= pipe(messages)
|
25 |
st.text_area("Long Text Box", response, height=1000)
|
|
|
19 |
prompt = st.text_input("Enter your message:")
|
20 |
|
21 |
if st.button("Run"):
|
22 |
+
messages = [{"role": "user", "content": prompt},]
|
23 |
pipe = pipeline("text-generation", model="deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B", trust_remote_code=True)
|
24 |
response= pipe(messages)
|
25 |
st.text_area("Long Text Box", response, height=1000)
|