Garvitj commited on
Commit
f5a2edd
·
verified ·
1 Parent(s): a6253f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,9 +2,9 @@ import gradio as gr
2
  from transformers import pipeline
3
 
4
  # Load the DeepSeek model
5
- pipe = pipeline("text-generation", model="deepseek-ai/deepseek-llm-7b", trust_remote_code=True)
6
 
7
- # pipe = pipeline("text-generation", model="deepseek-ai/DeepSeek-R1", trust_remote_code=True)
8
 
9
  # Function to interact with the chatbot
10
  def chat_with_bot(message, chat_history):
 
2
  from transformers import pipeline
3
 
4
  # Load the DeepSeek model
5
+ # pipe = pipeline("text-generation", model="deepseek-ai/deepseek-llm-7b", trust_remote_code=True)
6
 
7
+ pipe = pipeline("text-generation", model="deepseek-ai/DeepSeek-R1", trust_remote_code=True)
8
 
9
  # Function to interact with the chatbot
10
  def chat_with_bot(message, chat_history):