rushankg commited on
Commit
4b99aba
·
verified ·
1 Parent(s): e6b50b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def postprocess_message_text(api_response):
53
  str: Formatted message content.
54
  """
55
  # Convert api_response to dictionary
56
- response_dict = response.model_dump()
57
 
58
  # Extract the content from the choices
59
  message_content = response_dict["choices"][0]["message"]["content"]
 
53
  str: Formatted message content.
54
  """
55
  # Convert api_response to dictionary
56
+ response_dict = api_response.model_dump()
57
 
58
  # Extract the content from the choices
59
  message_content = response_dict["choices"][0]["message"]["content"]