fix returned output values error
Browse files
src/synthetic_dataset_generator/apps/chat.py
CHANGED
@@ -598,7 +598,7 @@ with gr.Blocks() as app:
|
|
598 |
triggers=[clear_btn_part.click, clear_btn_full.click],
|
599 |
fn=lambda _: ("", "", 1, _get_dataframe()),
|
600 |
inputs=[dataframe],
|
601 |
-
outputs=[system_prompt, num_turns, dataframe],
|
602 |
)
|
603 |
app.load(fn=get_org_dropdown, outputs=[org_name])
|
604 |
app.load(fn=get_random_repo_name, outputs=[repo_name])
|
|
|
598 |
triggers=[clear_btn_part.click, clear_btn_full.click],
|
599 |
fn=lambda _: ("", "", 1, _get_dataframe()),
|
600 |
inputs=[dataframe],
|
601 |
+
outputs=[dataset_description, system_prompt, num_turns, dataframe],
|
602 |
)
|
603 |
app.load(fn=get_org_dropdown, outputs=[org_name])
|
604 |
app.load(fn=get_random_repo_name, outputs=[repo_name])
|
src/synthetic_dataset_generator/apps/eval.py
CHANGED
@@ -889,6 +889,7 @@ with gr.Blocks() as app:
|
|
889 |
outputs=[
|
890 |
instruction_instruction_response,
|
891 |
response_instruction_response,
|
|
|
892 |
],
|
893 |
)
|
894 |
|
|
|
889 |
outputs=[
|
890 |
instruction_instruction_response,
|
891 |
response_instruction_response,
|
892 |
+
dataframe
|
893 |
],
|
894 |
)
|
895 |
|
src/synthetic_dataset_generator/apps/textcat.py
CHANGED
@@ -662,6 +662,7 @@ with gr.Blocks() as app:
|
|
662 |
"",
|
663 |
"",
|
664 |
[],
|
|
|
665 |
_get_dataframe(),
|
666 |
),
|
667 |
inputs=[dataframe],
|
|
|
662 |
"",
|
663 |
"",
|
664 |
[],
|
665 |
+
"",
|
666 |
_get_dataframe(),
|
667 |
),
|
668 |
inputs=[dataframe],
|