EmreYY20 commited on
Commit
5ea550e
1 Parent(s): 20d6d68

add radio buttons

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -22,8 +22,12 @@ def main():
22
 
23
  # Left column: Dropdown menu
24
  with col1:
25
- dropdown_options = ['Abstractive', 'Extractive']
26
- dropdown_selection = st.selectbox("Choose type of summerizer:", dropdown_options)
 
 
 
 
27
 
28
  # Middle column: Text input and File uploader
29
  with col2:
 
22
 
23
  # Left column: Dropdown menu
24
  with col1:
25
+ # Options for the radio buttons
26
+ radio_options = ['Abstractive', 'Extractive']
27
+
28
+ # Create radio buttons and get the selected option
29
+ radio_selection = st.radio("Choose type of summarizer:", radio_options)
30
+
31
 
32
  # Middle column: Text input and File uploader
33
  with col2: