Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,8 +44,8 @@ else:
|
|
| 44 |
aggregation = st.sidebar.radio("", ('first', 'simple', 'average', 'max', 'none'))
|
| 45 |
|
| 46 |
st.subheader("Select Text Input Method")
|
| 47 |
-
input_method = st.radio("", ('Select
|
| 48 |
-
if input_method == 'Select
|
| 49 |
selected_text = st.selectbox('Select Text from List', example_list, index=0, key=1)
|
| 50 |
st.subheader("Text to Run")
|
| 51 |
input_text = st.text_area("Selected Text", selected_text, height=128, max_chars=None, key=2)
|
|
|
|
| 44 |
aggregation = st.sidebar.radio("", ('first', 'simple', 'average', 'max', 'none'))
|
| 45 |
|
| 46 |
st.subheader("Select Text Input Method")
|
| 47 |
+
input_method = st.radio("", ('Select from Examples', 'Write or Paste New Text'))
|
| 48 |
+
if input_method == 'Select from Examples':
|
| 49 |
selected_text = st.selectbox('Select Text from List', example_list, index=0, key=1)
|
| 50 |
st.subheader("Text to Run")
|
| 51 |
input_text = st.text_area("Selected Text", selected_text, height=128, max_chars=None, key=2)
|