Spaces:
Sleeping
Sleeping
EmreYY20
commited on
Commit
·
5ea550e
1
Parent(s):
20d6d68
add radio buttons
Browse files
app.py
CHANGED
@@ -22,8 +22,12 @@ def main():
|
|
22 |
|
23 |
# Left column: Dropdown menu
|
24 |
with col1:
|
25 |
-
|
26 |
-
|
|
|
|
|
|
|
|
|
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:
|