GenAICoder commited on
Commit
59e2d87
·
verified ·
1 Parent(s): 6551988

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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": "Who are you?"},]
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)