off send score
Browse files
app.py
CHANGED
@@ -103,7 +103,7 @@ def process_image_and_caption(username_input, image, caption):
|
|
103 |
# Create a byte array buffer (like a binary file stream)
|
104 |
byte_buffer = io.BytesIO(caption_bytes)
|
105 |
upload_caption_result = cloudinary.uploader.upload(byte_buffer, public_id = name, asset_folder = "caption", resource_type = "raw")
|
106 |
-
send_score(username_input, 0.1)
|
107 |
gr.Info("Submit successfully")
|
108 |
return f'You just upload an Image with Caption: "{caption}" \nIntime {time}', None, None
|
109 |
|
|
|
103 |
# Create a byte array buffer (like a binary file stream)
|
104 |
byte_buffer = io.BytesIO(caption_bytes)
|
105 |
upload_caption_result = cloudinary.uploader.upload(byte_buffer, public_id = name, asset_folder = "caption", resource_type = "raw")
|
106 |
+
#send_score(username_input, 0.1)
|
107 |
gr.Info("Submit successfully")
|
108 |
return f'You just upload an Image with Caption: "{caption}" \nIntime {time}', None, None
|
109 |
|