testing llamaparse
Browse files
app.py
CHANGED
@@ -107,12 +107,13 @@ with st.sidebar:
|
|
107 |
api_key=parse_token, # can also be set in your env as LLAMA_CLOUD_API_KEY
|
108 |
result_type="text" # "markdown" and "text" are available
|
109 |
)
|
110 |
-
parsed_document = parser.load_data(uploaded_file)
|
111 |
# temp_dir.cleanup()
|
112 |
|
113 |
col1, col2 = st.columns(2)
|
114 |
|
115 |
with col1:
|
|
|
116 |
st.write(parsed_document)
|
117 |
|
118 |
with col2:
|
|
|
107 |
api_key=parse_token, # can also be set in your env as LLAMA_CLOUD_API_KEY
|
108 |
result_type="text" # "markdown" and "text" are available
|
109 |
)
|
110 |
+
# parsed_document = parser.load_data(uploaded_file)
|
111 |
# temp_dir.cleanup()
|
112 |
|
113 |
col1, col2 = st.columns(2)
|
114 |
|
115 |
with col1:
|
116 |
+
st.write(uploaded_file)
|
117 |
st.write(parsed_document)
|
118 |
|
119 |
with col2:
|