Update app.py
Browse files
app.py
CHANGED
|
@@ -128,8 +128,8 @@ async def main():
|
|
| 128 |
for i, file in enumerate(response.files):
|
| 129 |
# await file.asave(f"/Users/yunshi/Downloads/360Data/Data Center/Working-On Task/演讲与培训/2023ChatGPT/Coding/code_interpreter/output{i}.png") ##working.
|
| 130 |
# st.image(file.get_image() #! working.
|
| 131 |
-
file.show_image()
|
| 132 |
-
st.image(file.get_image(), width=
|
| 133 |
|
| 134 |
|
| 135 |
# message_placeholder.markdown(full_response + "▌") ## orignal code.
|
|
|
|
| 128 |
for i, file in enumerate(response.files):
|
| 129 |
# await file.asave(f"/Users/yunshi/Downloads/360Data/Data Center/Working-On Task/演讲与培训/2023ChatGPT/Coding/code_interpreter/output{i}.png") ##working.
|
| 130 |
# st.image(file.get_image() #! working.
|
| 131 |
+
## file.show_image()
|
| 132 |
+
st.image(file.get_image(), width=200, output_format='png') #! working.
|
| 133 |
|
| 134 |
|
| 135 |
# message_placeholder.markdown(full_response + "▌") ## orignal code.
|