Spaces:
Sleeping
Sleeping
Allen Park
commited on
Commit
•
70bc4c5
1
Parent(s):
a60c539
feat(add headers to left and right sections)
Browse files
app.py
CHANGED
@@ -262,6 +262,7 @@ with gr.Blocks(css=css, theme=gr.themes.Default(spacing_size="sm", font=[gr.them
|
|
262 |
model_dropdown = gr.Dropdown(choices=["Patronus Lynx 8B v1.1", "Patronus Lynx 70B"], value="Patronus Lynx 8B v1.1", label="Model", interactive=True)
|
263 |
with gr.Row(equal_height=True):
|
264 |
with gr.Column(scale=1):
|
|
|
265 |
# with gr.Row():
|
266 |
question = gr.Textbox(label="Question")
|
267 |
# with gr.Row():
|
@@ -278,6 +279,7 @@ with gr.Blocks(css=css, theme=gr.themes.Default(spacing_size="sm", font=[gr.them
|
|
278 |
clear_btn = gr.ClearButton([question, document, answer])
|
279 |
submit_button = gr.Button("Submit", variant="primary")
|
280 |
with gr.Column(scale=1):
|
|
|
281 |
reasoning = gr.Textbox(label="Reasoning")
|
282 |
score = gr.Textbox(label="Score (FAIL if Hallucinated, PASS if not)")
|
283 |
gr.Markdown(" ")
|
|
|
262 |
model_dropdown = gr.Dropdown(choices=["Patronus Lynx 8B v1.1", "Patronus Lynx 70B"], value="Patronus Lynx 8B v1.1", label="Model", interactive=True)
|
263 |
with gr.Row(equal_height=True):
|
264 |
with gr.Column(scale=1):
|
265 |
+
gr.Markdown("**Your Inputs**")
|
266 |
# with gr.Row():
|
267 |
question = gr.Textbox(label="Question")
|
268 |
# with gr.Row():
|
|
|
279 |
clear_btn = gr.ClearButton([question, document, answer])
|
280 |
submit_button = gr.Button("Submit", variant="primary")
|
281 |
with gr.Column(scale=1):
|
282 |
+
gr.Markdown("**Model Outputs**")
|
283 |
reasoning = gr.Textbox(label="Reasoning")
|
284 |
score = gr.Textbox(label="Score (FAIL if Hallucinated, PASS if not)")
|
285 |
gr.Markdown(" ")
|