Update app.py
Browse files
app.py
CHANGED
|
@@ -399,10 +399,23 @@ chat_interface_stream = gr.ChatInterface(fn=invoke,
|
|
| 399 |
reference_image = gr.Image(label="Reference Image")
|
| 400 |
|
| 401 |
with gr.Blocks() as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 402 |
with gr.Tab("Chatbot"):
|
| 403 |
-
with gr.Row():
|
| 404 |
-
chatbot_stream.like(vote, None, None)
|
| 405 |
-
chat_interface_stream #.queue().launch()
|
| 406 |
with gr.Row():
|
| 407 |
reference_image
|
| 408 |
|
|
|
|
| 399 |
reference_image = gr.Image(label="Reference Image")
|
| 400 |
|
| 401 |
with gr.Blocks() as demo:
|
| 402 |
+
gr.HTML(
|
| 403 |
+
"""
|
| 404 |
+
<div style="display: flex; justify-content: center; align-items: center; text-align: center;">
|
| 405 |
+
<a href="https://github.com/magic-research/magic-animate" style="margin-right: 20px; text-decoration: none; display: flex; align-items: center;">
|
| 406 |
+
</a>
|
| 407 |
+
<div>
|
| 408 |
+
<h1 >Chatbot des LI - hier im Test mit Image Eingabe</h1>
|
| 409 |
+
<div style="display: flex; justify-content: center; align-items: center; text-align: center;>
|
| 410 |
+
<a href="https://arxiv.org/abs/2311.16498"><img src="https://img.shields.io/badge/Arxiv-2311.16498-red"></a>
|
| 411 |
+
</div>
|
| 412 |
+
</div>
|
| 413 |
+
</div>
|
| 414 |
+
""")
|
| 415 |
with gr.Tab("Chatbot"):
|
| 416 |
+
#with gr.Row():
|
| 417 |
+
#chatbot_stream.like(vote, None, None)
|
| 418 |
+
#chat_interface_stream #.queue().launch()
|
| 419 |
with gr.Row():
|
| 420 |
reference_image
|
| 421 |
|