Spaces:
Runtime error
Runtime error
update lightweight code
Browse files
app.py
CHANGED
@@ -132,7 +132,7 @@ interface = gr.Interface(
|
|
132 |
Image.txt. This code support image to text transformation. Then the generated text can do retrieval, question answering et al to conduct zero-shot.
|
133 |
\n Github: https://github.com/showlab/Image2Paragraph
|
134 |
\n Twitter: https://twitter.com/awinyimgprocess/status/1646225454599372800?s=46&t=HvOe9T2n35iFuCHP5aIHpQ
|
135 |
-
\n For online demo, we use smallest model to speed up. For better result, look for github for
|
136 |
\n Ttext2image model is controlnet, which used canny edge as reference.
|
137 |
\n To speed up, we generate image with small size 384, run the code local for high-quality sample.
|
138 |
"""
|
|
|
132 |
Image.txt. This code support image to text transformation. Then the generated text can do retrieval, question answering et al to conduct zero-shot.
|
133 |
\n Github: https://github.com/showlab/Image2Paragraph
|
134 |
\n Twitter: https://twitter.com/awinyimgprocess/status/1646225454599372800?s=46&t=HvOe9T2n35iFuCHP5aIHpQ
|
135 |
+
\n For online demo, we use smallest model to speed up. For better result, look for github for using large models.
|
136 |
\n Ttext2image model is controlnet, which used canny edge as reference.
|
137 |
\n To speed up, we generate image with small size 384, run the code local for high-quality sample.
|
138 |
"""
|