arnikdehnavi commited on
Commit
6919d1a
1 Parent(s): f6ff72b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -7,6 +7,9 @@ import streamlit as st
7
  import math
8
 
9
  st.title('Schematic Design')
 
 
 
10
 
11
 
12
  tanasobat=crt.Antecedent(np.arange(0,3.05,0.05),'c')
@@ -209,9 +212,6 @@ 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.experimental_singleton
213
- def im():
214
- img=ml.image.imread("bandar1.png")
215
 
216
  img=im()
217
 
 
7
  import math
8
 
9
  st.title('Schematic Design')
10
+ @st.experimental_singleton
11
+ def im():
12
+ return ml.image.imread("bandar1.png")
13
 
14
 
15
  tanasobat=crt.Antecedent(np.arange(0,3.05,0.05),'c')
 
212
  ax.add_patch(r2)
213
  ax.add_patch(r1)
214
  ax.add_patch(r)
 
 
 
215
 
216
  img=im()
217