resumesearch commited on
Commit
0c403bd
Β·
verified Β·
1 Parent(s): 2fcf919

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -120,8 +120,7 @@ def clear_chat_handler() -> list:
120
 
121
  # β€”β€”β€” Gradio UI β€”β€”β€”
122
  with gr.Blocks(
123
- title="πŸ€– CodeBot: Your Cool Coding Assistant",
124
- theme=gr.themes.SoftDark()
125
  ) as demo:
126
 
127
  gr.Markdown(
@@ -167,6 +166,8 @@ with gr.Blocks(
167
  label="πŸ’‘ Examples"
168
  )
169
  example_btn = gr.Button("πŸ“₯ Load Example")
 
 
170
  example_btn.click(
171
  fn=lambda q: q or "",
172
  inputs=[example_dropdown],
 
120
 
121
  # β€”β€”β€” Gradio UI β€”β€”β€”
122
  with gr.Blocks(
123
+ title="πŸ€– CodeBot: Your Cool Coding Assistant"
 
124
  ) as demo:
125
 
126
  gr.Markdown(
 
166
  label="πŸ’‘ Examples"
167
  )
168
  example_btn = gr.Button("πŸ“₯ Load Example")
169
+
170
+ # Prefill user_input when an example is selected
171
  example_btn.click(
172
  fn=lambda q: q or "",
173
  inputs=[example_dropdown],