Commit
·
99e4d1a
1
Parent(s):
ce562bc
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ if __name__ == "__main__":
|
|
26 |
os.environ['OPENAI_API_KEY'] = api_key
|
27 |
|
28 |
# file uploader widget
|
29 |
-
uploaded_file = st.file_uploader('To upload a file drag and drop it on the area below:', type=['pdf', 'docx', 'txt'])
|
30 |
|
31 |
# chunk size number widget
|
32 |
chunk_size = st.number_input('Chunk size:', min_value=100, max_value=2048, value=512, on_change=clear_history)
|
|
|
26 |
os.environ['OPENAI_API_KEY'] = api_key
|
27 |
|
28 |
# file uploader widget
|
29 |
+
uploaded_file = st.file_uploader('To upload a file drag and drop it on the area below:', type=['pdf', 'docx', 'txt', 'csv'])
|
30 |
|
31 |
# chunk size number widget
|
32 |
chunk_size = st.number_input('Chunk size:', min_value=100, max_value=2048, value=512, on_change=clear_history)
|