ck46 commited on
Commit
a1e2c6a
1 Parent(s): 4ec3952

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -9
app.py CHANGED
@@ -13,15 +13,8 @@ def preprocess_text(text):
13
  return text
14
 
15
  # Add a model selector to the sidebar
16
- q_model = st.sidebar.selectbox(
17
- 'Select Question Generation Model',
18
- ('ck46/t5-base-hotpot-qa-qg', 'ck46/t5-small-hotpot-qa-qg')
19
- )
20
-
21
- a_model = st.sidebar.selectbox(
22
- 'Select Answer Extraction Model',
23
- ('ck46/t5-base-hotpot-qa-qg', 'ck46/t5-small-hotpot-qa-qg')
24
- )
25
 
26
  st.header('Question-Answer Generation')
27
  st.write(f'Model: {q_model}')
 
13
  return text
14
 
15
  # Add a model selector to the sidebar
16
+ q_model = 'ck46/t5-base-hotpot-qa-qg'
17
+ a_model = 'ck46/t5-base-hotpot-qa-qg'
 
 
 
 
 
 
 
18
 
19
  st.header('Question-Answer Generation')
20
  st.write(f'Model: {q_model}')