Update app.py
Browse files
app.py
CHANGED
|
@@ -251,7 +251,7 @@ def create_gradio_interface(assistant: RAGAssistant):
|
|
| 251 |
code_input.submit(code_chat, [code_input, code_chatbot], [code_chatbot, code_input])
|
| 252 |
|
| 253 |
with gr.TabItem("📈 Evaluation Bench"):
|
| 254 |
-
gr.Markdown("Upload a supported document (.
|
| 255 |
eval_file_input = gr.File(file_types=[".json"], file_count="single")
|
| 256 |
eval_assistant_choice = gr.Radio(["learning", "code"], label="Assistant", value="learning")
|
| 257 |
eval_button = gr.Button("Run Evaluation")
|
|
|
|
| 251 |
code_input.submit(code_chat, [code_input, code_chatbot], [code_chatbot, code_input])
|
| 252 |
|
| 253 |
with gr.TabItem("📈 Evaluation Bench"):
|
| 254 |
+
gr.Markdown("Upload a supported document (.json) containing evaluation questions and expected keywords.")
|
| 255 |
eval_file_input = gr.File(file_types=[".json"], file_count="single")
|
| 256 |
eval_assistant_choice = gr.Radio(["learning", "code"], label="Assistant", value="learning")
|
| 257 |
eval_button = gr.Button("Run Evaluation")
|