Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import json
|
|
| 6 |
|
| 7 |
def process(json_input):
|
| 8 |
try:
|
| 9 |
-
data = json.loads(json_input)
|
| 10 |
|
| 11 |
# decode base64 image
|
| 12 |
img_bytes = base64.b64decode(data["image_b64"])
|
|
|
|
| 6 |
|
| 7 |
def process(json_input):
|
| 8 |
try:
|
| 9 |
+
#data = json.loads(json_input)
|
| 10 |
|
| 11 |
# decode base64 image
|
| 12 |
img_bytes = base64.b64decode(data["image_b64"])
|