Satyam-Singh commited on
Commit
f3fa29d
1 Parent(s): cd5883a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -2,7 +2,7 @@ import google.generativeai as genai
2
  import gradio as gr
3
  import os
4
 
5
- genai.configure(api_key=os.getenv("GOOGLE_PALM_KEY"))
6
 
7
  def generate(prompt, history):
8
  response = genai.chat(
@@ -13,8 +13,8 @@ def generate(prompt, history):
13
 
14
  gr.ChatInterface(
15
  fn=generate,
16
- chatbot=gr.Chatbot(show_label=False, avatar_images=(None, 'palm-logo.png'), show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
17
- title="PaLM-2",
18
- description="This Is Official Demo Of ```PaLM-2``` Based On ```Google API```. ```History/context``` memory does not work in this demo",
19
  concurrency_limit=20,
20
  ).launch(share=True,show_api=False)
 
2
  import gradio as gr
3
  import os
4
 
5
+ genai.configure(api_key=os.getenv("k"))
6
 
7
  def generate(prompt, history):
8
  response = genai.chat(
 
13
 
14
  gr.ChatInterface(
15
  fn=generate,
16
+ chatbot=gr.Chatbot(show_label=False, avatar_images=(None, 'llava-logo.svg'), show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
17
+ title="LLaVa-2",
18
+ description="This Is Official Demo Of ```LLaVa-2```. ```History/context``` memory does not work in this demo",
19
  concurrency_limit=20,
20
  ).launch(share=True,show_api=False)