multimodalart HF Staff commited on
Commit
3821ed3
·
verified ·
1 Parent(s): d07e660

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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=True,
596
- show_legend=False,
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.03, step=0.01, label="Visualization Delay (seconds)")
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