Spaces:
Running
Running
deveix
commited on
Commit
·
bb9ed6b
1
Parent(s):
bd4c0d2
fix cnn response
Browse files- app/main.py +1 -1
app/main.py
CHANGED
@@ -348,7 +348,7 @@ async def handle_cnn(file: UploadFile = File(...)):
|
|
348 |
# Clean up the temporary file
|
349 |
os.remove(temp_filename)
|
350 |
# Return a successful response with decoded predictions
|
351 |
-
return
|
352 |
except Exception as e:
|
353 |
print(e)
|
354 |
# Handle possible exceptions
|
|
|
348 |
# Clean up the temporary file
|
349 |
os.remove(temp_filename)
|
350 |
# Return a successful response with decoded predictions
|
351 |
+
return reciter_object
|
352 |
except Exception as e:
|
353 |
print(e)
|
354 |
# Handle possible exceptions
|