Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
| 3 |
import torch
|
| 4 |
|
| 5 |
# Load DialoGPT model and tokenizer
|
| 6 |
-
tokenizer = AutoTokenizer.from_pretrained("microsoft/DialoGPT-medium",padding_side='left)
|
| 7 |
model = AutoModelForCausalLM.from_pretrained("microsoft/DialoGPT-medium")
|
| 8 |
|
| 9 |
# Streamlit app header
|
|
|
|
| 3 |
import torch
|
| 4 |
|
| 5 |
# Load DialoGPT model and tokenizer
|
| 6 |
+
tokenizer = AutoTokenizer.from_pretrained("microsoft/DialoGPT-medium",padding_side='left')
|
| 7 |
model = AutoModelForCausalLM.from_pretrained("microsoft/DialoGPT-medium")
|
| 8 |
|
| 9 |
# Streamlit app header
|