Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
2 |
from transformers import BlenderbotForConditionalGeneration
|
3 |
import torch
|
4 |
-
|
5 |
|
6 |
# model_name = "facebook/blenderbot-400M-distill"
|
7 |
model_name = "microsoft/DialoGPT-medium"
|
|
|
1 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
2 |
from transformers import BlenderbotForConditionalGeneration
|
3 |
import torch
|
4 |
+
import gradio as gr
|
5 |
|
6 |
# model_name = "facebook/blenderbot-400M-distill"
|
7 |
model_name = "microsoft/DialoGPT-medium"
|