Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -116,7 +116,7 @@ classes_dict = {
|
|
116 |
|
117 |
def Plot_Result(raw_plate, digits) :
|
118 |
|
119 |
-
fig
|
120 |
|
121 |
#plt.figure(figsize=(15, 10))
|
122 |
#plt.subplot(2, 1, 2)
|
@@ -147,8 +147,9 @@ def Plot_Result(raw_plate, digits) :
|
|
147 |
#plt.axis('off')
|
148 |
#plt.subplots_adjust(top=0.75)
|
149 |
#plt.imshow(raw_plate)
|
150 |
-
ax.imshow(raw_plate)
|
151 |
-
ax.show()
|
|
|
152 |
|
153 |
|
154 |
|
@@ -198,7 +199,8 @@ if selected_type == "Upload Image":
|
|
198 |
|
199 |
st.markdown("------")
|
200 |
|
201 |
-
st.
|
|
|
202 |
|
203 |
|
204 |
|
|
|
116 |
|
117 |
def Plot_Result(raw_plate, digits) :
|
118 |
|
119 |
+
fig = plt.subplots(figsize=(15,10))
|
120 |
|
121 |
#plt.figure(figsize=(15, 10))
|
122 |
#plt.subplot(2, 1, 2)
|
|
|
147 |
#plt.axis('off')
|
148 |
#plt.subplots_adjust(top=0.75)
|
149 |
#plt.imshow(raw_plate)
|
150 |
+
#ax.imshow(raw_plate)
|
151 |
+
#ax.show()
|
152 |
+
fig = plt.imshow(raw_plate)
|
153 |
|
154 |
|
155 |
|
|
|
199 |
|
200 |
st.markdown("------")
|
201 |
|
202 |
+
st.pyplot(FINAL(img))
|
203 |
+
|
204 |
|
205 |
|
206 |
|