Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
fixed by running "/project/code/tools/lint.sh fix"
  • Loading branch information
btong04 authored Aug 26, 2024
1 parent cf467f8 commit f401a4a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/frontend/pages/control/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@
use_kb = gr.Checkbox(USE_KB_INITIAL, label="Use knowledge base", interactive=True)
use_reranker = gr.Checkbox(USE_RERANKER_INITIAL, label="Use reranker", interactive=True)
with gr.Row(elem_id="mmd-row"):
mmd = mermaid.to_gradio(_MMD.render(use_kb=USE_KB_INITIAL,
use_reranker=USE_RERANKER_INITIAL, use_rewrite=False))
mmd = mermaid.to_gradio(
_MMD.render(use_kb=USE_KB_INITIAL, use_reranker=USE_RERANKER_INITIAL, use_rewrite=False)
)

# %% chain server configuration text box
with gr.Accordion(label="Chain Server Configuration"):
Expand Down

0 comments on commit f401a4a

Please sign in to comment.