Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ from llava.mm_utils import (
|
|
| 32 |
KeywordsStoppingCriteria,
|
| 33 |
)
|
| 34 |
|
| 35 |
-
from serve_constants import html_header
|
| 36 |
|
| 37 |
import requests
|
| 38 |
from PIL import Image
|
|
@@ -633,6 +633,10 @@ with gr.Blocks(
|
|
| 633 |
label="Image",
|
| 634 |
)
|
| 635 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 636 |
chat_msg = chat_input.submit(
|
| 637 |
add_message, [chatbot, chat_input], [chatbot, chat_input]
|
| 638 |
)
|
|
|
|
| 32 |
KeywordsStoppingCriteria,
|
| 33 |
)
|
| 34 |
|
| 35 |
+
from serve_constants import html_header, bibtext, learn_more_markdown, tos_markdown
|
| 36 |
|
| 37 |
import requests
|
| 38 |
from PIL import Image
|
|
|
|
| 633 |
label="Image",
|
| 634 |
)
|
| 635 |
|
| 636 |
+
gr.Markdown(tos_markdown)
|
| 637 |
+
gr.Markdown(learn_more_markdown)
|
| 638 |
+
gr.Markdown(bibtext)
|
| 639 |
+
|
| 640 |
chat_msg = chat_input.submit(
|
| 641 |
add_message, [chatbot, chat_input], [chatbot, chat_input]
|
| 642 |
)
|