Commit
·
38decdf
1
Parent(s):
4d7ea66
updated
Browse files
app.py
CHANGED
|
@@ -454,16 +454,17 @@ def create_gradio_interface():
|
|
| 454 |
|
| 455 |
with gr.Row():
|
| 456 |
similarity_output = gr.Number(label="Similarity Score", precision=4)
|
| 457 |
-
status_output = gr.Textbox(label="Status",
|
| 458 |
|
| 459 |
with gr.Column(scale=1):
|
| 460 |
gr.Markdown("## 🎛️ Pipeline Configuration")
|
| 461 |
|
| 462 |
with gr.Accordion("Stage Selection", open=True):
|
| 463 |
enable_stage1 = gr.Checkbox(label="Stage 1: Paraphrasing (T5)", value=True)
|
| 464 |
-
enable_stage2 = gr.Checkbox(label="Stage 2:
|
| 465 |
-
enable_stage3 = gr.Checkbox(label="Stage 3:
|
| 466 |
-
enable_stage4 = gr.Checkbox(label="Stage 4:
|
|
|
|
| 467 |
|
| 468 |
with gr.Accordion("Stage 1: Paraphrasing Parameters", open=False):
|
| 469 |
temperature = gr.Slider(0.1, 2.0, value=0.7, step=0.1, label="Temperature")
|
|
|
|
| 454 |
|
| 455 |
with gr.Row():
|
| 456 |
similarity_output = gr.Number(label="Similarity Score", precision=4)
|
| 457 |
+
status_output = gr.Textbox(label="Status",interactive=False,lines=2, max_lines=10)
|
| 458 |
|
| 459 |
with gr.Column(scale=1):
|
| 460 |
gr.Markdown("## 🎛️ Pipeline Configuration")
|
| 461 |
|
| 462 |
with gr.Accordion("Stage Selection", open=True):
|
| 463 |
enable_stage1 = gr.Checkbox(label="Stage 1: Paraphrasing (T5)", value=True)
|
| 464 |
+
enable_stage2 = gr.Checkbox(label="Stage 2: Lexical Diversification", value=True)
|
| 465 |
+
enable_stage3 = gr.Checkbox(label="Stage 3: Discourse Enrichment", value=True)
|
| 466 |
+
enable_stage4 = gr.Checkbox(label="Stage 4: Structural Variation", value=True)
|
| 467 |
+
|
| 468 |
|
| 469 |
with gr.Accordion("Stage 1: Paraphrasing Parameters", open=False):
|
| 470 |
temperature = gr.Slider(0.1, 2.0, value=0.7, step=0.1, label="Temperature")
|