Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -193,7 +193,6 @@ if qa_system.initialize_system():
|
|
| 193 |
logger.info("QA System Initialized Successfully")
|
| 194 |
else:
|
| 195 |
raise RuntimeError("Failed to initialize QA System")
|
| 196 |
-
|
| 197 |
@app.post("/query")
|
| 198 |
async def query_api(query: str):
|
| 199 |
responses = qa_system.process_query(query)
|
|
|
|
| 193 |
logger.info("QA System Initialized Successfully")
|
| 194 |
else:
|
| 195 |
raise RuntimeError("Failed to initialize QA System")
|
|
|
|
| 196 |
@app.post("/query")
|
| 197 |
async def query_api(query: str):
|
| 198 |
responses = qa_system.process_query(query)
|