chansung commited on
Commit
4bce446
·
1 Parent(s): 745991e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -4,8 +4,8 @@ import json
4
  import copy
5
  import gradio as gr
6
 
7
- from llama2 import GradioPaLMChatPPManager
8
- from llama2 import gen_text
9
 
10
  from styles import MODEL_SELECTION_CSS
11
  from js import GET_LOCAL_STORAGE, UPDATE_LEFT_BTNS_STATE, UPDATE_PLACEHOLDERS
@@ -295,7 +295,7 @@ with gr.Blocks(css=MODEL_SELECTION_CSS, theme='gradio/soft') as demo:
295
  max_lines=50,
296
  )
297
 
298
- chatbot = gr.Chatbot(elem_id='chatbot', label="LLaMA2-70B-Chat")
299
  instruction_txtbox = gr.Textbox(placeholder="Ask anything", label="", elem_id="prompt-txt")
300
 
301
  with gr.Accordion("Example Templates", open=False):
 
4
  import copy
5
  import gradio as gr
6
 
7
+ from palmapi import GradioPaLMChatPPManager
8
+ from palmapi import gen_text
9
 
10
  from styles import MODEL_SELECTION_CSS
11
  from js import GET_LOCAL_STORAGE, UPDATE_LEFT_BTNS_STATE, UPDATE_PLACEHOLDERS
 
295
  max_lines=50,
296
  )
297
 
298
+ chatbot = gr.Chatbot(elem_id='chatbot', label="PaLM API")
299
  instruction_txtbox = gr.Textbox(placeholder="Ask anything", label="", elem_id="prompt-txt")
300
 
301
  with gr.Accordion("Example Templates", open=False):