Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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/
|
|
|
|
|
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):
|