B4869 commited on
Commit
3f4c5e0
·
1 Parent(s): acf08aa

update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,4 +72,4 @@ def return_query_embedding():
72
  except Exception as e:
73
  # ดักจับ Error ที่อาจเกิดขึ้นภายในฟังก์ชัน LLM
74
  print(f"Error: {e}")
75
- return jsonify({"error": "Internal server error"}), 500
 
72
  except Exception as e:
73
  # ดักจับ Error ที่อาจเกิดขึ้นภายในฟังก์ชัน LLM
74
  print(f"Error: {e}")
75
+ return jsonify({"error": str(e)}), 500