Spaces:
Running
Running
Commit
·
f3257c5
1
Parent(s):
ebc5e42
upadted
Browse files
app.py
CHANGED
|
@@ -556,13 +556,13 @@ def create_gradio_interface():
|
|
| 556 |
hedge_prob, booster_prob, connector_prob, starter_prob,
|
| 557 |
split_prob, merge_prob, min_split_length, max_merge_length
|
| 558 |
],
|
| 559 |
-
outputs=[output_text, similarity_output, status_output,]
|
| 560 |
)
|
| 561 |
|
| 562 |
clear_btn.click(
|
| 563 |
fn=lambda: ("", "", 0.0, ""),
|
| 564 |
inputs=[],
|
| 565 |
-
outputs=[input_text, output_text, similarity_output, status_output,ai_content_label_generated, ai_content_score_generated,ai_content_label_input, ai_content_score_input]
|
| 566 |
)
|
| 567 |
|
| 568 |
return demo
|
|
|
|
| 556 |
hedge_prob, booster_prob, connector_prob, starter_prob,
|
| 557 |
split_prob, merge_prob, min_split_length, max_merge_length
|
| 558 |
],
|
| 559 |
+
outputs=[output_text, similarity_output, status_output, ai_content_label_generated, ai_content_score_generated, ai_content_label_input, ai_content_score_input]
|
| 560 |
)
|
| 561 |
|
| 562 |
clear_btn.click(
|
| 563 |
fn=lambda: ("", "", 0.0, ""),
|
| 564 |
inputs=[],
|
| 565 |
+
outputs=[input_text, output_text, similarity_output, status_output, ai_content_label_generated, ai_content_score_generated, ai_content_label_input, ai_content_score_input]
|
| 566 |
)
|
| 567 |
|
| 568 |
return demo
|