Spaces:
Running
Running
CaesarCloudSync
commited on
Commit
·
1669617
1
Parent(s):
4915e38
CaesarAI Handwriting
Browse files
main.py
CHANGED
@@ -60,7 +60,7 @@ def caesarailogo():
|
|
60 |
@app.post("/caesarhandwriting")
|
61 |
def caesaraihandwriting(urljson : CaesarAIHandwritingModel):
|
62 |
urljson = dict(urljson)
|
63 |
-
text = caesarhandwriting.translate(urljson["
|
64 |
return {"message":text}
|
65 |
|
66 |
|
|
|
60 |
@app.post("/caesarhandwriting")
|
61 |
def caesaraihandwriting(urljson : CaesarAIHandwritingModel):
|
62 |
urljson = dict(urljson)
|
63 |
+
text = caesarhandwriting.translate(urljson["message"])
|
64 |
return {"message":text}
|
65 |
|
66 |
|