update
This commit is contained in:
parent
f6f2fe1d5e
commit
3cbe68044b
|
@ -15,7 +15,7 @@ def inference(img):
|
||||||
generated_caption = processor.batch_decode(generated_ids, skip_special_tokens=True)[0]
|
generated_caption = processor.batch_decode(generated_ids, skip_special_tokens=True)[0]
|
||||||
return generated_caption
|
return generated_caption
|
||||||
|
|
||||||
title = "git-large-coco"
|
title = "Image to text:git-large-coco"
|
||||||
description = "Gradio Demo for git-large-coco. To use it, simply upload your image, or click one of the examples to load them."
|
description = "Gradio Demo for git-large-coco. To use it, simply upload your image, or click one of the examples to load them."
|
||||||
article = "<p style='text-align: center'><a href='https://github.com/bryandlee/animegan2-pytorch' target='_blank'>Github Repo Pytorch</a></p> <center><img src='https://visitor-badge.glitch.me/badge?page_id=akhaliq_animegan' alt='visitor badge'></center></p>"
|
article = "<p style='text-align: center'><a href='https://github.com/bryandlee/animegan2-pytorch' target='_blank'>Github Repo Pytorch</a></p> <center><img src='https://visitor-badge.glitch.me/badge?page_id=akhaliq_animegan' alt='visitor badge'></center></p>"
|
||||||
examples=[['example_cat.jpg'],['Masahiro.png']]
|
examples=[['example_cat.jpg'],['Masahiro.png']]
|
||||||
|
|
Loading…
Reference in New Issue