matthoffner commited on
Commit
18952ad
Β·
1 Parent(s): ffb1641

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -14,7 +14,7 @@ PromptHelper.compact_text_chunks = compact_text_chunks
14
  with gr.Blocks(css="") as demo:
15
  with gr.Box():
16
  gr.Markdown("<h1 style='font-size: 48px; text-align: center;'>πŸ“š LLaMa Difu πŸ““</h1>")
17
- gr.Markdown("<h3 style='text-align: center;'>LLaMa Do It For U πŸ¦™</h3>")
18
 
19
  chat_context = gr.State([])
20
  new_google_chat_context = gr.State([])
@@ -25,7 +25,7 @@ with gr.Blocks(css="") as demo:
25
  gr.Markdown("**Indicies**")
26
  with gr.Row():
27
  with gr.Column(scale=12):
28
- index_select = gr.Dropdown(choices=refresh_json_list(plain=True), value="index_select", show_label=False, multiselect=False).style(container=False)
29
  with gr.Column(min_width=30, scale=1):
30
  index_refresh_btn = gr.Button("πŸ”„").style()
31
 
@@ -35,7 +35,7 @@ with gr.Blocks(css="") as demo:
35
  with gr.Column(scale=1):
36
  chat_tone = gr.Radio(["smart", "concise", "creative"], label="chat_tone", type="index", value="concise")
37
  with gr.Column(scale=3):
38
- search_options_checkbox = gr.CheckboxGroup(label="APIs", choices=["πŸ“š Google", "Manual"])
39
  chatbot = gr.Chatbot()
40
  with gr.Row():
41
  with gr.Column(min_width=50, scale=1):
 
14
  with gr.Blocks(css="") as demo:
15
  with gr.Box():
16
  gr.Markdown("<h1 style='font-size: 48px; text-align: center;'>πŸ“š LLaMa Difu πŸ““</h1>")
17
+ gr.Markdown("<h3 style='text-align: center;'>πŸ¦™ Local LLM Do It For U πŸ¦™</h3>")
18
 
19
  chat_context = gr.State([])
20
  new_google_chat_context = gr.State([])
 
25
  gr.Markdown("**Indicies**")
26
  with gr.Row():
27
  with gr.Column(scale=12):
28
+ index_select = gr.Dropdown(choices=refresh_json_list(plain=True), value="index", show_label=False, multiselect=False).style(container=False)
29
  with gr.Column(min_width=30, scale=1):
30
  index_refresh_btn = gr.Button("πŸ”„").style()
31
 
 
35
  with gr.Column(scale=1):
36
  chat_tone = gr.Radio(["smart", "concise", "creative"], label="chat_tone", type="index", value="concise")
37
  with gr.Column(scale=3):
38
+ search_options_checkbox = gr.CheckboxGroup(label="Your API Here", choices=["πŸ“š Google", "🏑 Porch"])
39
  chatbot = gr.Chatbot()
40
  with gr.Row():
41
  with gr.Column(min_width=50, scale=1):