soctopus2327 commited on
Commit
ef7328d
·
verified ·
1 Parent(s): 1080ac9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -142,7 +142,7 @@ def generate_image(description: str) -> bytes:
142
 
143
  # Function to fetch endangered species data
144
  def fetch_endangered_species(city: str) -> dict:
145
- prompt = f"Provide details of an endangered species in {city}, including its name, image description, and current population."
146
  response = openai.ChatCompletion.create(
147
  model="gpt-3.5-turbo",
148
  messages=[{"role": "user", "content": prompt}],
 
142
 
143
  # Function to fetch endangered species data
144
  def fetch_endangered_species(city: str) -> dict:
145
+ prompt = f"Provide details of an endangered species which is highly specific in {city}, including its name, image description, and current population."
146
  response = openai.ChatCompletion.create(
147
  model="gpt-3.5-turbo",
148
  messages=[{"role": "user", "content": prompt}],