Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -592,8 +592,8 @@ def create_chatbot_demo():
|
|
| 592 |
with gr.Column(scale=2):
|
| 593 |
output_vis = gr.HighlightedText(
|
| 594 |
label="Denoising Process Visualization",
|
| 595 |
-
combine_adjacent=
|
| 596 |
-
show_legend=
|
| 597 |
interactive=False
|
| 598 |
)
|
| 599 |
response_text_display = gr.Textbox(
|
|
@@ -615,7 +615,7 @@ def create_chatbot_demo():
|
|
| 615 |
with gr.Row():
|
| 616 |
remasking_strategy = gr.Radio(choices=['origin', 'maskgit_plus', 'topk_margin', 'entropy'], value='entropy', label="Remasking Strategy (Algorithm)")
|
| 617 |
with gr.Row():
|
| 618 |
-
visualization_delay = gr.Slider(minimum=0.0, maximum=0.5, value=0.
|
| 619 |
|
| 620 |
clear_btn = gr.Button("Clear Conversation")
|
| 621 |
|
|
|
|
| 592 |
with gr.Column(scale=2):
|
| 593 |
output_vis = gr.HighlightedText(
|
| 594 |
label="Denoising Process Visualization",
|
| 595 |
+
combine_adjacent=False,
|
| 596 |
+
show_legend=True,
|
| 597 |
interactive=False
|
| 598 |
)
|
| 599 |
response_text_display = gr.Textbox(
|
|
|
|
| 615 |
with gr.Row():
|
| 616 |
remasking_strategy = gr.Radio(choices=['origin', 'maskgit_plus', 'topk_margin', 'entropy'], value='entropy', label="Remasking Strategy (Algorithm)")
|
| 617 |
with gr.Row():
|
| 618 |
+
visualization_delay = gr.Slider(minimum=0.0, maximum=0.5, value=0.0, step=0.01, label="Visualization Delay (seconds)")
|
| 619 |
|
| 620 |
clear_btn = gr.Button("Clear Conversation")
|
| 621 |
|