alvanli
commited on
Commit
•
b722a02
1
Parent(s):
d0723a9
Fix chat window, add more instructions
Browse files
app.py
CHANGED
@@ -61,18 +61,22 @@ class ChatBotCheese:
|
|
61 |
return [], []
|
62 |
|
63 |
def main(self):
|
64 |
-
with gr.Blocks(css="#chatbot
|
65 |
gr.Markdown(
|
66 |
"""
|
67 |
## FROMAGe
|
68 |
### Grounding Language Models to Images for Multimodal Generation
|
69 |
Jing Yu Koh, Ruslan Salakhutdinov, Daniel Fried <br/>
|
70 |
[Paper](https://arxiv.org/abs/2301.13823) [Github](https://github.com/kohjingyu/fromage) <br/>
|
71 |
-
- Instructions:
|
72 |
-
- [Optional] Upload an image
|
73 |
- [Optional] Change the parameters
|
74 |
- Send a message by typing into the box and pressing Enter on your keyboard
|
|
|
75 |
- Check out the examples at the bottom!
|
|
|
|
|
|
|
76 |
"""
|
77 |
)
|
78 |
|
|
|
61 |
return [], []
|
62 |
|
63 |
def main(self):
|
64 |
+
with gr.Blocks(css="#chatbot {height:1000px; overflow-y:auto;}") as demo:
|
65 |
gr.Markdown(
|
66 |
"""
|
67 |
## FROMAGe
|
68 |
### Grounding Language Models to Images for Multimodal Generation
|
69 |
Jing Yu Koh, Ruslan Salakhutdinov, Daniel Fried <br/>
|
70 |
[Paper](https://arxiv.org/abs/2301.13823) [Github](https://github.com/kohjingyu/fromage) <br/>
|
71 |
+
- Instructions (in order):
|
72 |
+
- [Optional] Upload an image (the button with a photo emoji)
|
73 |
- [Optional] Change the parameters
|
74 |
- Send a message by typing into the box and pressing Enter on your keyboard
|
75 |
+
- Ask about the image! Tell it to find similar images, or ones with different styles.
|
76 |
- Check out the examples at the bottom!
|
77 |
+
##### Notes
|
78 |
+
- Please be kind to it!
|
79 |
+
- It retrieves images from a database, and does not edit images
|
80 |
"""
|
81 |
)
|
82 |
|