Update app.py
Browse files
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
|
| 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:
|