shaipeerms commited on
Commit
725ce65
1 Parent(s): e422f61

Disable Submit button

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -107,7 +107,9 @@ with (gr.Blocks(theme=gr.themes.Soft(text_size=text_md), css="footer {visibility
107
  hf_token_tb = gr.Textbox(label='Token', type='password')
108
  submissions_24h_txt = gr.Textbox(label='Submissions 24h', value='')
109
  description_tb = gr.Textbox(label='Description', type='text')
110
- submission_btn = gr.Button(value='Submit')
 
 
111
 
112
  submission_btn.click(
113
  fn=on_submit_pressed,
 
107
  hf_token_tb = gr.Textbox(label='Token', type='password')
108
  submissions_24h_txt = gr.Textbox(label='Submissions 24h', value='')
109
  description_tb = gr.Textbox(label='Description', type='text')
110
+ submission_btn = gr.Button(value='Submit', interactive=False)
111
+ gr.Markdown('### * We are transitioning to dev-set-2. Submission is temporarily disabled. '
112
+ 'Please check back in 24 hours') # Temporarily disable submission
113
 
114
  submission_btn.click(
115
  fn=on_submit_pressed,