gabrielchua commited on
Commit
b9eac8a
1 Parent(s): 3c8b860

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def extract_receipt_info(image):
53
  )
54
 
55
  # Return the response from the model
56
- return chat_completion.choices[0].message['content']
57
 
58
  # Create the Gradio app
59
  def gradio_app():
 
53
  )
54
 
55
  # Return the response from the model
56
+ return chat_completion.choices[0].message.content
57
 
58
  # Create the Gradio app
59
  def gradio_app():