Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
from transformers import pipeline, Conversation
|
|
|
|
|
2 |
import gradio as gr
|
3 |
|
4 |
chatbot = pipeline("text-generation",model="deepseek-ai/DeepSeek-V2.5", trust_remote_code=True)
|
|
|
1 |
from transformers import pipeline, Conversation
|
2 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM, GenerationConfig
|
3 |
+
|
4 |
import gradio as gr
|
5 |
|
6 |
chatbot = pipeline("text-generation",model="deepseek-ai/DeepSeek-V2.5", trust_remote_code=True)
|