Spaces:
Runtime error
Runtime error
jpjpjpjpjp
commited on
Commit
•
1809b46
1
Parent(s):
c546dc1
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import json
|
|
6 |
from PIL import Image
|
7 |
|
8 |
|
9 |
-
def analyze_image(
|
10 |
#img64 = base64.b64decode(image)
|
11 |
im = Image.fromarray(image)
|
12 |
in_mem_file = io.BytesIO()
|
|
|
6 |
from PIL import Image
|
7 |
|
8 |
|
9 |
+
def analyze_image(image, question):
|
10 |
#img64 = base64.b64decode(image)
|
11 |
im = Image.fromarray(image)
|
12 |
in_mem_file = io.BytesIO()
|