project2you commited on
Commit
21736f0
1 Parent(s): 6e5cd97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,7 +1,7 @@
1
  from transformers import pipeline, Conversation
2
  import gradio as gr
3
 
4
- chatbot = pipeline(model="facebook/blenderbot-400M-distill")
5
 
6
  message_list = []
7
  response_list = []
@@ -12,6 +12,6 @@ def vanilla_chatbot(message, history):
12
 
13
  return conversation.generated_responses[-1]
14
 
15
- demo_chatbot = gr.ChatInterface(vanilla_chatbot, title="Vanilla Chatbot", description="Enter text to start chatting.")
16
 
17
  demo_chatbot.launch()
 
1
  from transformers import pipeline, Conversation
2
  import gradio as gr
3
 
4
+ chatbot = pipeline(model="project2you/1_0_thai_llm2-gpt")
5
 
6
  message_list = []
7
  response_list = []
 
12
 
13
  return conversation.generated_responses[-1]
14
 
15
+ demo_chatbot = gr.ChatInterface(vanilla_chatbot, title="Chatbot", description="Enter text to start chatting.")
16
 
17
  demo_chatbot.launch()