vilarin commited on
Commit
55f0ba3
·
verified ·
1 Parent(s): 9180e08

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def process_text(text_input, unit):
28
  {"role": "user", "content": f"Hello! Could you solve {text_input}?"}
29
  ]
30
  )
31
- return completion.choices[0].message.content
32
 
33
  def process_image(image_input,unit):
34
  if image_input is not None:
 
28
  {"role": "user", "content": f"Hello! Could you solve {text_input}?"}
29
  ]
30
  )
31
+ return response.choices[0].message.content
32
 
33
  def process_image(image_input,unit):
34
  if image_input is not None: