rushankg commited on
Commit
d7c1db2
·
verified ·
1 Parent(s): d29bc99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -8,7 +8,6 @@ from openai import OpenAI
8
  # Get the API key from the environment variable
9
  API_KEY = os.getenv('PPX_KEY')
10
 
11
- # Function to get dollar estimates for damaged objects
12
  # Function to get dollar estimates for damaged objects
13
  def get_damaged_object_estimates(damage_description):
14
  # Check if API key is available
@@ -66,7 +65,6 @@ def postprocess_message_text(api_response):
66
  Returns:
67
  str: Formatted message content.
68
  """
69
- st.error(api_response)
70
 
71
  # Extract the content from the choices
72
  message_content = api_response["choices"][0]["message"]["content"]
 
8
  # Get the API key from the environment variable
9
  API_KEY = os.getenv('PPX_KEY')
10
 
 
11
  # Function to get dollar estimates for damaged objects
12
  def get_damaged_object_estimates(damage_description):
13
  # Check if API key is available
 
65
  Returns:
66
  str: Formatted message content.
67
  """
 
68
 
69
  # Extract the content from the choices
70
  message_content = api_response["choices"][0]["message"]["content"]