Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def main():
|
|
43 |
|
44 |
# 2. Send the file to GPT4Vision for explanation
|
45 |
with st.spinner("Generating explanation..."):
|
46 |
-
explanation = image.describe(image_file=file_to_process, user_message="Describe this image in language:"+language)
|
47 |
st.success(explanation)
|
48 |
# 3. Display the explanation
|
49 |
# st.write(explanation)
|
|
|
43 |
|
44 |
# 2. Send the file to GPT4Vision for explanation
|
45 |
with st.spinner("Generating explanation..."):
|
46 |
+
explanation = image.describe(image_file=file_to_process, user_message="Describe this image in detail, taken with blind persons mobile phone camera. Respondin language: "+language)
|
47 |
st.success(explanation)
|
48 |
# 3. Display the explanation
|
49 |
# st.write(explanation)
|