Spaces:
Sleeping
Sleeping
Update utils.py
Browse files
utils.py
CHANGED
@@ -11,6 +11,6 @@ def answer(input_img):
|
|
11 |
image_data = base64.b64encode(buffer.getvalue()).decode('utf-8')
|
12 |
# print(os.getenv('PROMPT'))
|
13 |
|
14 |
-
respose = executor.execute_with_image(user_input= '', model_input= os.
|
15 |
|
16 |
return respose
|
|
|
11 |
image_data = base64.b64encode(buffer.getvalue()).decode('utf-8')
|
12 |
# print(os.getenv('PROMPT'))
|
13 |
|
14 |
+
respose = executor.execute_with_image(user_input= '', model_input= os.environ['PROMPT'], base64_image=image_data)
|
15 |
|
16 |
return respose
|