Update main.py
Browse files
main.py
CHANGED
@@ -12,11 +12,11 @@ def parse_params():
|
|
12 |
input=request.args.get('input')
|
13 |
kargs=request.args.get('kargs')
|
14 |
try:
|
15 |
-
input = json.load(input)
|
16 |
except:
|
17 |
pass
|
18 |
try:
|
19 |
-
kargs = json.load(kargs)
|
20 |
except:
|
21 |
kargs={}
|
22 |
return input, kargs
|
|
|
12 |
input=request.args.get('input')
|
13 |
kargs=request.args.get('kargs')
|
14 |
try:
|
15 |
+
input = json.load(input)
|
16 |
except:
|
17 |
pass
|
18 |
try:
|
19 |
+
kargs = json.load(kargs)
|
20 |
except:
|
21 |
kargs={}
|
22 |
return input, kargs
|