ZongqianLi commited on
Commit
89c8460
·
verified ·
1 Parent(s): 3394cb3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -39,7 +39,7 @@ else:
39
 
40
  # 显示用户选择的模型
41
  st.write(f"Your selected model:")
42
- st.markdown(f'#### {model}', unsafe_allow_html=True)
43
 
44
  # 加载问答模型
45
  pipe = pipeline("question-answering", model=model)
@@ -53,6 +53,8 @@ with col1:
53
  default_question = "What is the value of FF?"
54
  default_context = "The referential DSSC with Pt CE was also measured under the same conditions, which yields η of 6.66% (Voc= 0.78 V, Jsc= 13.0 mA cm−2, FF = 65.9%)."
55
 
 
 
56
 
57
  with col2:
58
  if st.button("SuAD Dataset QA"):
 
39
 
40
  # 显示用户选择的模型
41
  st.write(f"Your selected model:")
42
+ st.markdown(f'##### {model}', unsafe_allow_html=True)
43
 
44
  # 加载问答模型
45
  pipe = pipeline("question-answering", model=model)
 
53
  default_question = "What is the value of FF?"
54
  default_context = "The referential DSSC with Pt CE was also measured under the same conditions, which yields η of 6.66% (Voc= 0.78 V, Jsc= 13.0 mA cm−2, FF = 65.9%)."
55
 
56
+ default_question = ""
57
+ default_context = ""
58
 
59
  with col2:
60
  if st.button("SuAD Dataset QA"):