z1alilou commited on
Commit
c111ec1
·
verified ·
1 Parent(s): 8246885

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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)