Spaces:
Runtime error
Runtime error
Updated app.py for error message
Browse files
app.py
CHANGED
|
@@ -45,7 +45,8 @@ except Exception as e:
|
|
| 45 |
return res
|
| 46 |
except Exception as e:
|
| 47 |
print("Received process error: ", e)
|
| 48 |
-
return "An Error occurred!!"
|
|
|
|
| 49 |
|
| 50 |
@app.route('/query', methods=['POST'])
|
| 51 |
def process_request():
|
|
|
|
| 45 |
return res
|
| 46 |
except Exception as e:
|
| 47 |
print("Received process error: ", e)
|
| 48 |
+
# return "An Error occurred!!"
|
| 49 |
+
return e
|
| 50 |
|
| 51 |
@app.route('/query', methods=['POST'])
|
| 52 |
def process_request():
|