Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,13 +5,10 @@ import streamlit as st
|
|
5 |
|
6 |
"""
|
7 |
# 香蕉病害分類
|
8 |
-
|
9 |
-
"""
|
10 |
-
|
11 |
"""
|
12 |
|
13 |
|
14 |
-
|
15 |
#### 健康香蕉葉示例
|
16 |
"""
|
17 |
img1 = Image.open('/home/user/app/healthy_1.jpg')
|
@@ -21,16 +18,13 @@ img3 = Image.open('/home/user/app/healthy_3.jpg')
|
|
21 |
col1, col2, col3 = st.columns(3)
|
22 |
|
23 |
with col1:
|
24 |
-
st.image(img1, caption="
|
25 |
with col2:
|
26 |
-
st.image(img2, caption="
|
27 |
with col3:
|
28 |
-
st.image(img3, caption="
|
29 |
|
30 |
"""
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
#### 香蕉葉斑病(Black sigatoka;Black leaf streak)
|
35 |
病原菌學名:Mycosphaerella fijiensis (= M. fijiensis var. fijiensis )
|
36 |
|
@@ -50,16 +44,13 @@ img3 = Image.open('/home/user/app/sigatoka_3.jpg')
|
|
50 |
col1, col2, col3 = st.columns(3)
|
51 |
|
52 |
with col1:
|
53 |
-
st.image(img1, caption="
|
54 |
with col2:
|
55 |
-
st.image(img2, caption="
|
56 |
with col3:
|
57 |
-
st.image(img3, caption="
|
58 |
|
59 |
"""
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
#### 圓星病(Cordana leaf spot)
|
64 |
病原菌學名:Cordana musae(Zimm.)Hohnel
|
65 |
|
@@ -76,15 +67,13 @@ img3 = Image.open('/home/user/app/cordana_3.jpg')
|
|
76 |
col1, col2, col3 = st.columns(3)
|
77 |
|
78 |
with col1:
|
79 |
-
st.image(img1, caption="
|
80 |
with col2:
|
81 |
-
st.image(img2, caption="
|
82 |
with col3:
|
83 |
-
st.image(img3, caption="
|
84 |
|
85 |
"""
|
86 |
-
|
87 |
-
|
88 |
#### 擬盤多毛胞屬真菌病害(Pestalotiopsis)
|
89 |
著名的植物病原體品種,主要分布於熱帶地區,可危害多種果樹,於貯後病害紀錄如檬果、番石榴、荔枝、酪梨等皆曾發現,也常引起水果的果腐病。
|
90 |
|
@@ -99,11 +88,11 @@ img3 = Image.open('/home/user/app/pestalotiopsis_3.jpg')
|
|
99 |
col1, col2, col3 = st.columns(3)
|
100 |
|
101 |
with col1:
|
102 |
-
st.image(img1, caption="
|
103 |
with col2:
|
104 |
-
st.image(img2, caption="
|
105 |
with col3:
|
106 |
-
st.image(img3, caption="
|
107 |
|
108 |
|
109 |
|
|
|
5 |
|
6 |
"""
|
7 |
# 香蕉病害分類
|
|
|
|
|
|
|
8 |
"""
|
9 |
|
10 |
|
11 |
+
"""
|
12 |
#### 健康香蕉葉示例
|
13 |
"""
|
14 |
img1 = Image.open('/home/user/app/healthy_1.jpg')
|
|
|
18 |
col1, col2, col3 = st.columns(3)
|
19 |
|
20 |
with col1:
|
21 |
+
st.image(img1, caption="healthy_1", use_column_width=True)
|
22 |
with col2:
|
23 |
+
st.image(img2, caption="healthy_2", use_column_width=True)
|
24 |
with col3:
|
25 |
+
st.image(img3, caption="healthy_3", use_column_width=True)
|
26 |
|
27 |
"""
|
|
|
|
|
|
|
28 |
#### 香蕉葉斑病(Black sigatoka;Black leaf streak)
|
29 |
病原菌學名:Mycosphaerella fijiensis (= M. fijiensis var. fijiensis )
|
30 |
|
|
|
44 |
col1, col2, col3 = st.columns(3)
|
45 |
|
46 |
with col1:
|
47 |
+
st.image(img1, caption="sigatoka_1", use_column_width=True)
|
48 |
with col2:
|
49 |
+
st.image(img2, caption="sigatoka_2", use_column_width=True)
|
50 |
with col3:
|
51 |
+
st.image(img3, caption="sigatoka_3", use_column_width=True)
|
52 |
|
53 |
"""
|
|
|
|
|
|
|
54 |
#### 圓星病(Cordana leaf spot)
|
55 |
病原菌學名:Cordana musae(Zimm.)Hohnel
|
56 |
|
|
|
67 |
col1, col2, col3 = st.columns(3)
|
68 |
|
69 |
with col1:
|
70 |
+
st.image(img1, caption="cordana_1", use_column_width=True)
|
71 |
with col2:
|
72 |
+
st.image(img2, caption="cordana_2", use_column_width=True)
|
73 |
with col3:
|
74 |
+
st.image(img3, caption="cordana_3", use_column_width=True)
|
75 |
|
76 |
"""
|
|
|
|
|
77 |
#### 擬盤多毛胞屬真菌病害(Pestalotiopsis)
|
78 |
著名的植物病原體品種,主要分布於熱帶地區,可危害多種果樹,於貯後病害紀錄如檬果、番石榴、荔枝、酪梨等皆曾發現,也常引起水果的果腐病。
|
79 |
|
|
|
88 |
col1, col2, col3 = st.columns(3)
|
89 |
|
90 |
with col1:
|
91 |
+
st.image(img1, caption="pestalotiopsis_1", use_column_width=True)
|
92 |
with col2:
|
93 |
+
st.image(img2, caption="pestalotiopsis_2", use_column_width=True)
|
94 |
with col3:
|
95 |
+
st.image(img3, caption="pestalotiopsis_3", use_column_width=True)
|
96 |
|
97 |
|
98 |
|