Spaces:
Runtime error
Runtime error
Update api.py
Browse files
api.py
CHANGED
@@ -23,4 +23,4 @@ async def translate(input_data: InputData):
|
|
23 |
)
|
24 |
return result
|
25 |
except Exception as e:
|
26 |
-
raise HTTPException(status_code=500, detail=str(e))
|
|
|
23 |
)
|
24 |
return result
|
25 |
except Exception as e:
|
26 |
+
raise HTTPException(status_code=500, detail=str(e))
|