Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -97,14 +97,15 @@ def set_targ():
|
|
| 97 |
targ = 0
|
| 98 |
return targ
|
| 99 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
def proc0(img):
|
| 101 |
-
global num1
|
| 102 |
num1 = []
|
| 103 |
num1.append(0)
|
| 104 |
-
global targ
|
| 105 |
targ = []
|
| 106 |
targ.append(0)
|
| 107 |
-
global targ_lang
|
| 108 |
targ_lang=[]
|
| 109 |
targ_lang.append(mylist[0])
|
| 110 |
|
|
|
|
| 97 |
targ = 0
|
| 98 |
return targ
|
| 99 |
|
| 100 |
+
global num1
|
| 101 |
+
global targ
|
| 102 |
+
global targ_lang
|
| 103 |
+
|
| 104 |
def proc0(img):
|
|
|
|
| 105 |
num1 = []
|
| 106 |
num1.append(0)
|
|
|
|
| 107 |
targ = []
|
| 108 |
targ.append(0)
|
|
|
|
| 109 |
targ_lang=[]
|
| 110 |
targ_lang.append(mylist[0])
|
| 111 |
|