ZongqianLi commited on
Commit
2433a54
·
verified ·
1 Parent(s): 56acf35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -4,9 +4,9 @@ from transformers import pipeline
4
  ##########
5
  # Property Extraction
6
  ##########
7
- st.title("Extract material property from paper")
8
 
9
- st.header("Select a model: ")
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.header("Input the paper: ")
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"