Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,9 +4,9 @@ from transformers import pipeline
|
|
4 |
##########
|
5 |
# Property Extraction
|
6 |
##########
|
7 |
-
st.
|
8 |
|
9 |
-
st.
|
10 |
|
11 |
# 定义模型配置选项
|
12 |
size_lst = ["-base", "-large"]
|
@@ -32,7 +32,7 @@ st.write(f"Your selected model: {model}")
|
|
32 |
# 加载问答模型
|
33 |
pipe = pipeline("question-answering", model=model)
|
34 |
|
35 |
-
st.
|
36 |
|
37 |
# 设置默认的问题和上下文
|
38 |
default_property = "FF"
|
|
|
4 |
##########
|
5 |
# Property Extraction
|
6 |
##########
|
7 |
+
st.markdown('# Property Extraction', unsafe_allow_html=True)
|
8 |
|
9 |
+
st.markdown('## Select a model: ', unsafe_allow_html=True)
|
10 |
|
11 |
# 定义模型配置选项
|
12 |
size_lst = ["-base", "-large"]
|
|
|
32 |
# 加载问答模型
|
33 |
pipe = pipeline("question-answering", model=model)
|
34 |
|
35 |
+
st.markdown('## Input a paper: ', unsafe_allow_html=True)
|
36 |
|
37 |
# 设置默认的问题和上下文
|
38 |
default_property = "FF"
|