updates
Browse files
main.py
CHANGED
@@ -67,7 +67,7 @@ def generate_image(prompt, model):
|
|
67 |
|
68 |
return {"response": filename}
|
69 |
|
70 |
-
@app.
|
71 |
def verify_image():
|
72 |
form = cgi.FieldStorage()
|
73 |
fileitem = form['fileUpload']
|
|
|
67 |
|
68 |
return {"response": filename}
|
69 |
|
70 |
+
@app.post("/verify")
|
71 |
def verify_image():
|
72 |
form = cgi.FieldStorage()
|
73 |
fileitem = form['fileUpload']
|