Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
#!/usr/bin/python
|
| 2 |
# -*- coding: utf-8 -*-
|
|
|
|
| 3 |
import gradio as gr
|
| 4 |
chatbot = pipeline(model='facebook/blenderbot-400M-distill')
|
| 5 |
message_list = []
|
|
|
|
| 1 |
#!/usr/bin/python
|
| 2 |
# -*- coding: utf-8 -*-
|
| 3 |
+
from transformers import pipeline, Conversation
|
| 4 |
import gradio as gr
|
| 5 |
chatbot = pipeline(model='facebook/blenderbot-400M-distill')
|
| 6 |
message_list = []
|