Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ if input_method == "Write or Paste New Text":
|
|
66 |
else:
|
67 |
uploaded_file = st.file_uploader("Choose a file", type=["txt", "pdf", "docx"])
|
68 |
if uploaded_file is not None:
|
69 |
-
input_text = read_file(uploaded_file)
|
70 |
if input_text:
|
71 |
st.text_area("Extracted Text", input_text, height=128)
|
72 |
else:
|
|
|
66 |
else:
|
67 |
uploaded_file = st.file_uploader("Choose a file", type=["txt", "pdf", "docx"])
|
68 |
if uploaded_file is not None:
|
69 |
+
input_text = read_file(uploaded_file)
|
70 |
if input_text:
|
71 |
st.text_area("Extracted Text", input_text, height=128)
|
72 |
else:
|