Linoy Tsaban commited on
Commit
32a74db
1 Parent(s): 7468a41

Update app.py

Browse files

disabled the clear button (temporarily, unwanted behavior)

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -599,7 +599,7 @@ with gr.Blocks(css="style.css") as demo:
599
  with gr.TabItem('General options', id=2):
600
  with gr.Row():
601
  with gr.Column(min_width=100):
602
- clear_button = gr.Button("Clear", visible=True)
603
  src_prompt = gr.Textbox(lines=1, label="Source Prompt", interactive=True, placeholder="")
604
  steps = gr.Number(value=100, precision=0, label="Num Diffusion Steps", interactive=True)
605
  src_cfg_scale = gr.Number(value=3.5, label=f"Source Guidance Scale", interactive=True)
 
599
  with gr.TabItem('General options', id=2):
600
  with gr.Row():
601
  with gr.Column(min_width=100):
602
+ clear_button = gr.Button("Clear", visible=False)
603
  src_prompt = gr.Textbox(lines=1, label="Source Prompt", interactive=True, placeholder="")
604
  steps = gr.Number(value=100, precision=0, label="Num Diffusion Steps", interactive=True)
605
  src_cfg_scale = gr.Number(value=3.5, label=f"Source Guidance Scale", interactive=True)