anhdt-dsai-02 commited on
Commit
bb94092
·
verified ·
1 Parent(s): bb8fedb

off send score

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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