updates
Browse files
main.py
CHANGED
@@ -70,13 +70,14 @@ def generate_image(prompt, model):
|
|
70 |
|
71 |
@app.post("/verify")
|
72 |
def verify_image():
|
|
|
73 |
form = cgi.FieldStorage()
|
74 |
-
logging.
|
75 |
-
logging.
|
76 |
|
77 |
fileitem = form['fileUpload']
|
78 |
-
logging.
|
79 |
-
logging.
|
80 |
|
81 |
# check if the file has been uploaded
|
82 |
if fileitem.filename:
|
|
|
70 |
|
71 |
@app.post("/verify")
|
72 |
def verify_image():
|
73 |
+
logging.warning("in verify")
|
74 |
form = cgi.FieldStorage()
|
75 |
+
logging.warning('form')
|
76 |
+
logging.warning(form)
|
77 |
|
78 |
fileitem = form['fileUpload']
|
79 |
+
logging.warning('fileitem')
|
80 |
+
logging.warning(fileitem)
|
81 |
|
82 |
# check if the file has been uploaded
|
83 |
if fileitem.filename:
|