Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def main():
|
|
15 |
if clicked:
|
16 |
img = Image.open(file)
|
17 |
image = st.image(img)
|
18 |
-
results = question(image , str(text_input))
|
19 |
st.json(results)
|
20 |
|
21 |
if __name__ == "__main__":
|
|
|
15 |
if clicked:
|
16 |
img = Image.open(file)
|
17 |
image = st.image(img)
|
18 |
+
results = question(dict(image) , str(text_input))
|
19 |
st.json(results)
|
20 |
|
21 |
if __name__ == "__main__":
|