Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -667,9 +667,8 @@ def main():
|
|
| 667 |
else:
|
| 668 |
model = load_model('IDEA-CCNL/Erlangshen-UniMC-RoBERTa-110M-Chinese')
|
| 669 |
|
| 670 |
-
model_type = st.selectbox('选择任务类型',['文本分类','情感分析','语义匹配','自然语言推理','多项式阅读理解'])
|
| 671 |
-
|
| 672 |
st.info("请输入以下信息...")
|
|
|
|
| 673 |
|
| 674 |
|
| 675 |
sentences = st.text_area("请输入句子:", text_dict[model_type])
|
|
|
|
| 667 |
else:
|
| 668 |
model = load_model('IDEA-CCNL/Erlangshen-UniMC-RoBERTa-110M-Chinese')
|
| 669 |
|
|
|
|
|
|
|
| 670 |
st.info("请输入以下信息...")
|
| 671 |
+
model_type = st.selectbox('选择任务类型',['文本分类','情感分析','语义匹配','自然语言推理','多项式阅读理解'])
|
| 672 |
|
| 673 |
|
| 674 |
sentences = st.text_area("请输入句子:", text_dict[model_type])
|