ck46 commited on
Commit
a02618d
1 Parent(s): dc66d85

hidded the model selection from sidebar

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -6,10 +6,10 @@ paraphraser = ParaphraseModel()
6
 
7
 
8
  # Add a model selector to the sidebar:
9
- model = st.sidebar.selectbox(
10
- 'Select Model',
11
- ('T5-base', 'DistilT5-base', 'T5-small')
12
- )
13
 
14
 
15
  top_k = st.sidebar.slider('Top_K', 100, 300, 168)
@@ -17,7 +17,7 @@ top_k = st.sidebar.slider('Top_K', 100, 300, 168)
17
  top_p = st.sidebar.slider('Top_P', 0.0, 1.0, 0.95)
18
 
19
  st.header("Bullet-point Summarization")
20
- st.write(f'Model in use: {model}')
21
 
22
  txt = st.text_area('Text to analyze', )
23
 
 
6
 
7
 
8
  # Add a model selector to the sidebar:
9
+ #model = st.sidebar.selectbox(
10
+ # 'Select Model',
11
+ # ('T5-base', 'DistilT5-base', 'T5-small')
12
+ #)
13
 
14
 
15
  top_k = st.sidebar.slider('Top_K', 100, 300, 168)
 
17
  top_p = st.sidebar.slider('Top_P', 0.0, 1.0, 0.95)
18
 
19
  st.header("Bullet-point Summarization")
20
+ #st.write(f'Model in use: {model}')
21
 
22
  txt = st.text_area('Text to analyze', )
23