Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ uploaded_file = st.file_uploader("📄 Upload your PDF or Text file", type=["pdf
|
|
| 10 |
|
| 11 |
if uploaded_file:
|
| 12 |
try:
|
| 13 |
-
doc = parser.parse_file(uploaded_file
|
| 14 |
chunks = parser.chunk_and_embed(doc)
|
| 15 |
|
| 16 |
agent_cfgs = agents.load_agents("config.yaml")
|
|
|
|
| 10 |
|
| 11 |
if uploaded_file:
|
| 12 |
try:
|
| 13 |
+
doc = parser.parse_file(uploaded_file)
|
| 14 |
chunks = parser.chunk_and_embed(doc)
|
| 15 |
|
| 16 |
agent_cfgs = agents.load_agents("config.yaml")
|