Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -211,7 +211,7 @@ def get_all_banned():
|
|
211 |
return banned_users
|
212 |
|
213 |
|
214 |
-
@app.
|
215 |
def get_translate(
|
216 |
item: TranslateCustom,
|
217 |
):
|
|
|
211 |
return banned_users
|
212 |
|
213 |
|
214 |
+
@app.post("/ufop/translate", response_model=SuccessResponse, responses={422: {"model": ErrorStatus}})
|
215 |
def get_translate(
|
216 |
item: TranslateCustom,
|
217 |
):
|