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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -2,7 +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-R1", trust_remote_code=True)
 
 
6
 
7
  # Function to interact with the chatbot
8
  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):