Spaces:
Running
Running
Satyam-Singh
commited on
Commit
•
7386ab8
1
Parent(s):
4877bc5
Update app.py
Browse files
app.py
CHANGED
@@ -17,12 +17,12 @@ def generate(prompt, history):
|
|
17 |
layout="vertical"
|
18 |
)'''
|
19 |
|
20 |
-
gr.ChatInterface(
|
21 |
fn=generate,
|
22 |
chatbot=gr.Chatbot(show_label=False, avatar_images=(None, 'llava-logo.svg'), show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|
23 |
title="LLaVa-2",
|
24 |
description="This Is Official Demo Of ```LLaVa-2```. ```History/context``` memory does not work in this demo",
|
25 |
concurrency_limit=20,
|
26 |
-
layout="vertical"
|
27 |
-
|
28 |
-
|
|
|
17 |
layout="vertical"
|
18 |
)'''
|
19 |
|
20 |
+
llava=gr.ChatInterface(
|
21 |
fn=generate,
|
22 |
chatbot=gr.Chatbot(show_label=False, avatar_images=(None, 'llava-logo.svg'), show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|
23 |
title="LLaVa-2",
|
24 |
description="This Is Official Demo Of ```LLaVa-2```. ```History/context``` memory does not work in this demo",
|
25 |
concurrency_limit=20,
|
26 |
+
layout="vertical",#bubble_full_width=False
|
27 |
+
)
|
28 |
+
llava.launch(share=True,show_api=False)
|