rairo commited on
Commit
001f680
·
verified ·
1 Parent(s): e8ad788

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -82,7 +82,8 @@ def process_receipt(model, image):
82
  @app.route('/api/write-report', methods=['POST'])
83
  def generate_report():
84
  prompt = """You are the TrueSpend AI analyst, analyze this transaction data
85
- and write an insightful business report on the spending habits of the users """
 
86
  model = configure_gemini()
87
  try:
88
  # Get the transaction data from the request body
 
82
  @app.route('/api/write-report', methods=['POST'])
83
  def generate_report():
84
  prompt = """You are the TrueSpend AI analyst, analyze this transaction data
85
+ and write an insightful business report on the spending habits of the employees.
86
+ Make sure the report is in plain text"""
87
  model = configure_gemini()
88
  try:
89
  # Get the transaction data from the request body