Commit ·
378a5f3
1
Parent(s): 98c8b8b
changed 8
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
from transformers import T5Tokenizer, T5ForConditionalGeneration
|
| 3 |
import torch
|
| 4 |
|
| 5 |
-
# Load your model from Hugging Face
|
| 6 |
tokenizer = T5Tokenizer.from_pretrained("quynhthames/vietnamese-math-solver")
|
| 7 |
model = T5ForConditionalGeneration.from_pretrained("quynhthames/vietnamese-math-solver")
|
| 8 |
|
|
|
|
| 2 |
from transformers import T5Tokenizer, T5ForConditionalGeneration
|
| 3 |
import torch
|
| 4 |
|
| 5 |
+
## Load your model from Hugging Face
|
| 6 |
tokenizer = T5Tokenizer.from_pretrained("quynhthames/vietnamese-math-solver")
|
| 7 |
model = T5ForConditionalGeneration.from_pretrained("quynhthames/vietnamese-math-solver")
|
| 8 |
|