Spaces:
Runtime error
Runtime error
Commit
•
f6ff72b
1
Parent(s):
ee9877e
Update app.py
Browse files
app.py
CHANGED
@@ -209,13 +209,13 @@ r1=ml.patches.Rectangle((300,150),c1*60,60,angle=-a1,color=d1)
|
|
209 |
ax.add_patch(r2)
|
210 |
ax.add_patch(r1)
|
211 |
ax.add_patch(r)
|
212 |
-
@st.
|
213 |
-
def im(
|
214 |
img=ml.image.imread("bandar1.png")
|
215 |
-
return ax.imshow(img)
|
216 |
-
im(ax)
|
217 |
|
218 |
-
|
|
|
|
|
219 |
st.header('your score is :')
|
220 |
st.header(g11)
|
221 |
st.set_option('deprecation.showPyplotGlobalUse', False)
|
|
|
209 |
ax.add_patch(r2)
|
210 |
ax.add_patch(r1)
|
211 |
ax.add_patch(r)
|
212 |
+
@st.experimental_singleton
|
213 |
+
def im():
|
214 |
img=ml.image.imread("bandar1.png")
|
|
|
|
|
215 |
|
216 |
+
img=im()
|
217 |
+
|
218 |
+
ax.imshow(img)
|
219 |
st.header('your score is :')
|
220 |
st.header(g11)
|
221 |
st.set_option('deprecation.showPyplotGlobalUse', False)
|