Spaces:
Sleeping
Sleeping
Commit
·
93e87c6
1
Parent(s):
b570e97
Fix st.image() deprecated parameters causing browser console errors
Browse files
app.py
CHANGED
|
@@ -91,11 +91,7 @@ def chat_message(message, is_user=False):
|
|
| 91 |
|
| 92 |
st.image(
|
| 93 |
"src/assets/logo_title_transparent.png",
|
| 94 |
-
|
| 95 |
-
use_column_width=None,
|
| 96 |
-
clamp=False,
|
| 97 |
-
channels="RGB",
|
| 98 |
-
output_format="auto",
|
| 99 |
)
|
| 100 |
|
| 101 |
st.write("AI and optimization powered companion gardening")
|
|
@@ -518,12 +514,7 @@ if page == "Garden Optimization":
|
|
| 518 |
with col1b:
|
| 519 |
st.image(
|
| 520 |
"src/assets/score.png",
|
| 521 |
-
caption=None,
|
| 522 |
width=160,
|
| 523 |
-
use_column_width=None,
|
| 524 |
-
clamp=False,
|
| 525 |
-
channels="RGB",
|
| 526 |
-
output_format="auto",
|
| 527 |
)
|
| 528 |
with col2b:
|
| 529 |
# st.write("\n")
|
|
@@ -570,11 +561,7 @@ if page == "About":
|
|
| 570 |
|
| 571 |
st.image(
|
| 572 |
"src/assets/GRDN_AI_techstack_.png",
|
| 573 |
-
|
| 574 |
-
use_column_width=None,
|
| 575 |
-
clamp=False,
|
| 576 |
-
channels="RGB",
|
| 577 |
-
output_format="auto",
|
| 578 |
)
|
| 579 |
|
| 580 |
add_vertical_space(4)
|
|
|
|
| 91 |
|
| 92 |
st.image(
|
| 93 |
"src/assets/logo_title_transparent.png",
|
| 94 |
+
use_container_width=True,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
)
|
| 96 |
|
| 97 |
st.write("AI and optimization powered companion gardening")
|
|
|
|
| 514 |
with col1b:
|
| 515 |
st.image(
|
| 516 |
"src/assets/score.png",
|
|
|
|
| 517 |
width=160,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 518 |
)
|
| 519 |
with col2b:
|
| 520 |
# st.write("\n")
|
|
|
|
| 561 |
|
| 562 |
st.image(
|
| 563 |
"src/assets/GRDN_AI_techstack_.png",
|
| 564 |
+
use_container_width=True,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 565 |
)
|
| 566 |
|
| 567 |
add_vertical_space(4)
|