Spaces:
Sleeping
Sleeping
Fix indentation error: correct try statement indentation
Browse files
main.py
CHANGED
|
@@ -167,7 +167,7 @@ async def process_query(request: QueryRequest):
|
|
| 167 |
session_id=session_id
|
| 168 |
)
|
| 169 |
|
| 170 |
-
|
| 171 |
sql, error = generate_sql_with_groq(request.question)
|
| 172 |
|
| 173 |
if error:
|
|
|
|
| 167 |
session_id=session_id
|
| 168 |
)
|
| 169 |
|
| 170 |
+
try:
|
| 171 |
sql, error = generate_sql_with_groq(request.question)
|
| 172 |
|
| 173 |
if error:
|