Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -124,7 +124,7 @@ with gr.Blocks() as demo:
|
|
124 |
performance = gr.Textbox(label="Please describe the model's performance in your own words. What did it do well? What did it struggle with? *")
|
125 |
|
126 |
save_btn = gr.Button("Submit Feedback")
|
127 |
-
|
128 |
save_btn.click(
|
129 |
fn=save_feedback,
|
130 |
inputs=[
|
@@ -132,7 +132,7 @@ with gr.Blocks() as demo:
|
|
132 |
transcript_edit, orthography, orthography_issues,
|
133 |
meaning, meaning_loss, errors, error_examples, performance
|
134 |
],
|
135 |
-
|
136 |
)
|
137 |
|
138 |
# Launch the interface
|
|
|
124 |
performance = gr.Textbox(label="Please describe the model's performance in your own words. What did it do well? What did it struggle with? *")
|
125 |
|
126 |
save_btn = gr.Button("Submit Feedback")
|
127 |
+
output_msg = gr.Textbox(interactive=False)
|
128 |
save_btn.click(
|
129 |
fn=save_feedback,
|
130 |
inputs=[
|
|
|
132 |
transcript_edit, orthography, orthography_issues,
|
133 |
meaning, meaning_loss, errors, error_examples, performance
|
134 |
],
|
135 |
+
outputs=[output_msg]
|
136 |
)
|
137 |
|
138 |
# Launch the interface
|