Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ st.sidebar.title("Settings")
|
|
| 30 |
|
| 31 |
# User input for file upload
|
| 32 |
st.sidebar.subheader("Upload Knowledge Base")
|
| 33 |
-
uploaded_file = st.sidebar.file_uploader("Upload a medical text book (
|
| 34 |
|
| 35 |
# Initialize the parser
|
| 36 |
parser = LlamaParse(
|
|
|
|
| 30 |
|
| 31 |
# User input for file upload
|
| 32 |
st.sidebar.subheader("Upload Knowledge Base")
|
| 33 |
+
uploaded_file = st.sidebar.file_uploader("Upload a medical text book (pdf)", type=["jpg", "png", "pdf"])
|
| 34 |
|
| 35 |
# Initialize the parser
|
| 36 |
parser = LlamaParse(
|