Satyam-Singh commited on
Commit
7386ab8
1 Parent(s): 4877bc5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- bubble_full_width=False
28
- ).launch(share=True,show_api=False)
 
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)