Update app.py
Browse files
app.py
CHANGED
|
@@ -1,10 +1,8 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
|
| 3 |
import torch
|
| 4 |
|
| 5 |
-
|
| 6 |
-
tokenizer = AutoTokenizer.from_pretrained("microsoft/DialoGPT-small")
|
| 7 |
-
model = AutoModelForCausalLM.from_pretrained("microsoft/DialoGPT-small")
|
| 8 |
|
| 9 |
# Chat history (global per session)
|
| 10 |
chat_history_ids = None
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
|
| 3 |
import torch
|
| 4 |
|
| 5 |
+
|
|
|
|
|
|
|
| 6 |
|
| 7 |
# Chat history (global per session)
|
| 8 |
chat_history_ids = None
|