Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,8 +8,8 @@ import re
|
|
8 |
|
9 |
|
10 |
|
11 |
-
description = "
|
12 |
-
title = "
|
13 |
|
14 |
|
15 |
model = VisionEncoderDecoderModel.from_pretrained("gagan3012/ViTGPT2_vizwiz").to('cpu')
|
8 |
|
9 |
|
10 |
|
11 |
+
description = "Just upload an image, and generate a short story for the image.\n PS: GPT-2 is not perfect but it's fun to play with.May take a minute for the output to generate. Enjoyy!!!"
|
12 |
+
title = "Story generator from images using ViT and GPT2"
|
13 |
|
14 |
|
15 |
model = VisionEncoderDecoderModel.from_pretrained("gagan3012/ViTGPT2_vizwiz").to('cpu')
|