Spaces:
Running
Running
Gregor Betz
commited on
Commit
•
eea00b2
1
Parent(s):
3052234
config layout
Browse files
app.py
CHANGED
@@ -345,7 +345,7 @@ with gr.Blocks() as demo:
|
|
345 |
gr.Examples([{"text": e, "files":[]} for e in EXAMPLES], chat_input)
|
346 |
|
347 |
# configs
|
348 |
-
with gr.Accordion("Client
|
349 |
gr.Markdown("Configure your client LLM that underpins this chatbot and is guided through the reasoning process.")
|
350 |
with gr.Row():
|
351 |
with gr.Column(2):
|
@@ -355,16 +355,19 @@ with gr.Blocks() as demo:
|
|
355 |
tourist_inference_token = gr.Textbox("", label="Inference Token", max_lines=1, placeholder="Not required with HF Inference Api (default)", type="password")
|
356 |
with gr.Column(1):
|
357 |
tourist_temperature = gr.Slider(0, 1.0, value = TOURIST_MODEL_KWARGS["temperature"], label="Temperature")
|
358 |
-
with gr.Accordion("Guide
|
359 |
-
gr.Markdown("Expert LLM that powers the Guided Reasoning system:")
|
360 |
gr.Textbox(
|
361 |
GUIDE_KWARGS["expert_model"],
|
362 |
-
label="
|
|
|
|
|
|
|
|
|
|
|
|
|
363 |
max_lines=1,
|
364 |
interactive=False
|
365 |
)
|
366 |
-
gr.Markdown("Classifier LLM used by Guided Reasoning system:")
|
367 |
-
gr.Textbox(GUIDE_KWARGS["classifier_kwargs"]["model_id"], label="Model ID", max_lines=1, interactive=False)
|
368 |
|
369 |
|
370 |
# logic
|
|
|
345 |
gr.Examples([{"text": e, "files":[]} for e in EXAMPLES], chat_input)
|
346 |
|
347 |
# configs
|
348 |
+
with gr.Accordion("Client Configuration", open=False):
|
349 |
gr.Markdown("Configure your client LLM that underpins this chatbot and is guided through the reasoning process.")
|
350 |
with gr.Row():
|
351 |
with gr.Column(2):
|
|
|
355 |
tourist_inference_token = gr.Textbox("", label="Inference Token", max_lines=1, placeholder="Not required with HF Inference Api (default)", type="password")
|
356 |
with gr.Column(1):
|
357 |
tourist_temperature = gr.Slider(0, 1.0, value = TOURIST_MODEL_KWARGS["temperature"], label="Temperature")
|
358 |
+
with gr.Accordion("Guide Configuration", open=False):
|
|
|
359 |
gr.Textbox(
|
360 |
GUIDE_KWARGS["expert_model"],
|
361 |
+
label="Expert LLM that powers the Guided Reasoning system",
|
362 |
+
max_lines=1,
|
363 |
+
interactive=False
|
364 |
+
)
|
365 |
+
gr.Textbox(
|
366 |
+
GUIDE_KWARGS["classifier_kwargs"]["model_id"],
|
367 |
+
label="Classifier LLM used by Guided Reasoning system",
|
368 |
max_lines=1,
|
369 |
interactive=False
|
370 |
)
|
|
|
|
|
371 |
|
372 |
|
373 |
# logic
|