Spaces:
Runtime error
Runtime error
Update app.py
#1
by
saritha5
- opened
app.py
CHANGED
|
@@ -81,6 +81,7 @@ class SimThread (threading.Thread):
|
|
| 81 |
|
| 82 |
def run(self):
|
| 83 |
""" exeution """
|
|
|
|
| 84 |
while not exitFlag:
|
| 85 |
rec = dequeue(self.qu, workQuLock)
|
| 86 |
if rec is not None:
|
|
@@ -183,6 +184,6 @@ def predict_main(test_file,exist_file,prop_file):
|
|
| 183 |
|
| 184 |
exitFlag = True
|
| 185 |
|
| 186 |
-
|
| 187 |
|
| 188 |
st.header("End")
|
|
|
|
| 81 |
|
| 82 |
def run(self):
|
| 83 |
""" exeution """
|
| 84 |
+
exitFlag=False
|
| 85 |
while not exitFlag:
|
| 86 |
rec = dequeue(self.qu, workQuLock)
|
| 87 |
if rec is not None:
|
|
|
|
| 184 |
|
| 185 |
exitFlag = True
|
| 186 |
|
| 187 |
+
predict_main(test_file,exist_file,prop_file)
|
| 188 |
|
| 189 |
st.header("End")
|