Spaces:
Runtime error
Runtime error
Commit ·
8fe11ef
1
Parent(s): c92a43f
Update main.py
Browse files
main.py
CHANGED
|
@@ -216,11 +216,10 @@ def genereteotp (email):
|
|
| 216 |
queuedUnSummurizedShawkas = []
|
| 217 |
semphoreShakwas=threading.Semaphore(0)
|
| 218 |
def summrizedshakwas():
|
|
|
|
|
|
|
| 219 |
while True:
|
| 220 |
-
global queuedUnSummurizedShawkas
|
| 221 |
-
global semphoreShakwas
|
| 222 |
semphoreShakwas.acquire()
|
| 223 |
-
|
| 224 |
shawka=queuedUnSummurizedShawkas.pop(0)
|
| 225 |
tmpdict= modelsummary(shawka.complaintbody)
|
| 226 |
shawka.summary=tmpdict['summary']
|
|
|
|
| 216 |
queuedUnSummurizedShawkas = []
|
| 217 |
semphoreShakwas=threading.Semaphore(0)
|
| 218 |
def summrizedshakwas():
|
| 219 |
+
global queuedUnSummurizedShawkas
|
| 220 |
+
global semphoreShakwas
|
| 221 |
while True:
|
|
|
|
|
|
|
| 222 |
semphoreShakwas.acquire()
|
|
|
|
| 223 |
shawka=queuedUnSummurizedShawkas.pop(0)
|
| 224 |
tmpdict= modelsummary(shawka.complaintbody)
|
| 225 |
shawka.summary=tmpdict['summary']
|