BenK0y commited on
Commit
0178eee
·
verified ·
1 Parent(s): fa31549

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -72,13 +72,10 @@ def upload_file(files, text_input, social_media_platform, num_captions=1):
72
  return file_paths[0], response
73
 
74
  with gr.Blocks() as demo:
75
- header = gr.Label("Captionify: From Image to Engagement - Get the Perfect Caption!")
76
- text_input = gr.Textbox(label="Enter context for the image")
77
- social_media_input = gr.Dropdown(choices=["Instagram", "Facebook", "Twitter", "LinkedIn", "Pinterest"], label="Select social media platform")
78
- num_captions_input = gr.Number(label="Number of Captions/Posts")
79
  image_output = gr.Image()
80
  upload_button = gr.UploadButton("Click to upload an image", file_types=["image"], file_count="multiple")
81
- generate_button = gr.Button("Generate")
82
 
83
  file_output = gr.Textbox(label="Generated Caption/Post Content")
84
 
 
72
  return file_paths[0], response
73
 
74
  with gr.Blocks() as demo:
75
+ header = gr.Label("RADARPICK: Vous avez été radarisé!")
 
 
 
76
  image_output = gr.Image()
77
  upload_button = gr.UploadButton("Click to upload an image", file_types=["image"], file_count="multiple")
78
+ generate_button = gr.Button("Generer")
79
 
80
  file_output = gr.Textbox(label="Generated Caption/Post Content")
81