Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ outputs = [ gr.outputs.Textbox(label = 'Caption')]
|
|
55 |
title = "Image to Hashtags"
|
56 |
description = "This AI tool uses cutting-edge technology to generate captions and relevant hashtags for images. By combining a state-of-the-art ViT-GPT2 image captioning model with OpenAI's GPT-3.5-Turbo API this tool can suggest popular and relevant hashtags. "
|
57 |
article = " <a href='https://huggingface.co/nlpconnect/vit-gpt2-image-captioning'>Model Repo on Hugging Face Model Hub</a>"
|
58 |
-
examples = [['Screenshot 2023-02-03 at 3.58.03 PM.png','Screenshot 2023-02-03 at 3.57.20 PM.png','Screenshot 2023-02-03 at 3.56.22 PM.png']]
|
59 |
|
60 |
gr.Interface(
|
61 |
Image_to_caption,
|
|
|
55 |
title = "Image to Hashtags"
|
56 |
description = "This AI tool uses cutting-edge technology to generate captions and relevant hashtags for images. By combining a state-of-the-art ViT-GPT2 image captioning model with OpenAI's GPT-3.5-Turbo API this tool can suggest popular and relevant hashtags. "
|
57 |
article = " <a href='https://huggingface.co/nlpconnect/vit-gpt2-image-captioning'>Model Repo on Hugging Face Model Hub</a>"
|
58 |
+
examples = [['Screenshot 2023-02-03 at 3.58.03 PM.png'],['Screenshot 2023-02-03 at 3.57.20 PM.png'],['Screenshot 2023-02-03 at 3.56.22 PM.png']]
|
59 |
|
60 |
gr.Interface(
|
61 |
Image_to_caption,
|