Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,8 +21,7 @@ async def predict(data: InputData):
|
|
| 21 |
a = input_data[0]
|
| 22 |
b = input_data[1]
|
| 23 |
c = sumar(a,b)
|
| 24 |
-
prediction = c
|
| 25 |
-
#return {"prediction": prediction.tolist()}
|
| 26 |
return {"prediction": prediction}
|
| 27 |
except Exception as e:
|
| 28 |
raise HTTPException(status_code=500, detail=str(e))
|
|
|
|
| 21 |
a = input_data[0]
|
| 22 |
b = input_data[1]
|
| 23 |
c = sumar(a,b)
|
| 24 |
+
prediction = c
|
|
|
|
| 25 |
return {"prediction": prediction}
|
| 26 |
except Exception as e:
|
| 27 |
raise HTTPException(status_code=500, detail=str(e))
|