Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def detect(inp):
|
|
12 |
r = requests.post(url='https://hf.space/gradioiframe/Sa-m/Political-Party-Symbol-Detector-V1/+/api/predict/',
|
13 |
json={"data": [bs64Data]})
|
14 |
|
15 |
-
return r
|
16 |
|
17 |
inp = gr.inputs.Image(type='file', label="Input Image")
|
18 |
output=gr.outputs.JSON(label='Response')
|
|
|
12 |
r = requests.post(url='https://hf.space/gradioiframe/Sa-m/Political-Party-Symbol-Detector-V1/+/api/predict/',
|
13 |
json={"data": [bs64Data]})
|
14 |
|
15 |
+
return r
|
16 |
|
17 |
inp = gr.inputs.Image(type='file', label="Input Image")
|
18 |
output=gr.outputs.JSON(label='Response')
|