Spaces:
Sleeping
Sleeping
DeepLearning101
commited on
Commit
•
ccd532a
1
Parent(s):
13b5606
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ from transformers import T5ForConditionalGeneration, T5Tokenizer
|
|
3 |
import torch
|
4 |
import os
|
5 |
|
|
|
6 |
# 指定模型路徑或 Hugging Face Model Hub 上的模型 ID
|
7 |
model_name_or_path = "DeepLearning101/Corrector101zhTWT5"
|
8 |
auth_token = os.getenv("HF_HOME")
|
|
|
3 |
import torch
|
4 |
import os
|
5 |
|
6 |
+
|
7 |
# 指定模型路徑或 Hugging Face Model Hub 上的模型 ID
|
8 |
model_name_or_path = "DeepLearning101/Corrector101zhTWT5"
|
9 |
auth_token = os.getenv("HF_HOME")
|