Spaces:
Runtime error
Runtime error
Commit
·
51ef0d5
1
Parent(s):
17ca74c
updated
Browse files
app.py
CHANGED
|
@@ -478,6 +478,7 @@ def create_gradio_interface():
|
|
| 478 |
with gr.Row():
|
| 479 |
submit_btn = gr.Button("🚀 Transform Text", variant="primary", size="lg")
|
| 480 |
clear_btn = gr.Button("🔄 Clear", size="lg")
|
|
|
|
| 481 |
|
| 482 |
output_text = gr.Textbox(
|
| 483 |
label="Humanized Output",
|
|
@@ -577,7 +578,7 @@ def create_gradio_interface():
|
|
| 577 |
)
|
| 578 |
|
| 579 |
clear_btn.click(
|
| 580 |
-
fn=lambda: ("", "", 0.0, ""),
|
| 581 |
inputs=[],
|
| 582 |
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]
|
| 583 |
)
|
|
|
|
| 478 |
with gr.Row():
|
| 479 |
submit_btn = gr.Button("🚀 Transform Text", variant="primary", size="lg")
|
| 480 |
clear_btn = gr.Button("🔄 Clear", size="lg")
|
| 481 |
+
|
| 482 |
|
| 483 |
output_text = gr.Textbox(
|
| 484 |
label="Humanized Output",
|
|
|
|
| 578 |
)
|
| 579 |
|
| 580 |
clear_btn.click(
|
| 581 |
+
fn=lambda: ("", "", 0.0, "","", 0.0, "", 0.0),
|
| 582 |
inputs=[],
|
| 583 |
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]
|
| 584 |
)
|