umarigan commited on
Commit
a34a8fb
·
verified ·
1 Parent(s): 2856362

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ input_method = st.radio("", ('Write or Paste New Text', 'Upload File'))
49
 
50
  if input_method == "Write or Paste New Text":
51
  input_text = st.text_area('Write or Paste Text Below', value="", height=128)
52
- elif:
53
  uploaded_file = st.file_uploader("Choose a file", type=["txt", "pdf", "docx"])
54
  if uploaded_file is not None:
55
  input_text = read_file(uploaded_file)
 
49
 
50
  if input_method == "Write or Paste New Text":
51
  input_text = st.text_area('Write or Paste Text Below', value="", height=128)
52
+ else:
53
  uploaded_file = st.file_uploader("Choose a file", type=["txt", "pdf", "docx"])
54
  if uploaded_file is not None:
55
  input_text = read_file(uploaded_file)