Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,3 @@
|
|
1 |
-
from transformers import pipeline
|
2 |
-
|
3 |
-
# 初始化两个模型
|
4 |
pipe1 = pipeline("text-classification", model="Emma0123/fine_tuned_model")
|
5 |
pipe2 = pipeline("text-classification", model="jonas/roberta-base-finetuned-sdg")
|
6 |
|
|
|
|
|
|
|
|
|
1 |
pipe1 = pipeline("text-classification", model="Emma0123/fine_tuned_model")
|
2 |
pipe2 = pipeline("text-classification", model="jonas/roberta-base-finetuned-sdg")
|
3 |
|