Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def predict(image):
|
|
28 |
return tweet
|
29 |
|
30 |
title = "Image Classifier to Generative Tweet"
|
31 |
-
description = "This demo recognizes and classifies images using the 'google/vit-base-patch16-224' model and generates a
|
32 |
input_component = gr.Image(type="pil", label="Upload an image here")
|
33 |
output_component = gr.Textbox(label="Generated Promotional Tweet")
|
34 |
|
|
|
28 |
return tweet
|
29 |
|
30 |
title = "Image Classifier to Generative Tweet"
|
31 |
+
description = "This demo recognizes and classifies images using the 'google/vit-base-patch16-224' model and generates a tweet about the top prediction using the 'facebook/bart-large-cnn' generative text model."
|
32 |
input_component = gr.Image(type="pil", label="Upload an image here")
|
33 |
output_component = gr.Textbox(label="Generated Promotional Tweet")
|
34 |
|