maringetxway commited on
Commit
0ce5f5f
·
verified ·
1 Parent(s): 0ea8700

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -17
app.py CHANGED
@@ -298,23 +298,6 @@ def interface():
298
  )
299
 
300
 
301
- del_btn = gr.Button("Delete Profile")
302
- admin_discord = gr.Text(label="Discord Username")
303
- admin_code = gr.Text(label="Admin Code", type="password")
304
- del_status = gr.Textbox(label="Status", interactive=False)
305
- del_btn.click(
306
- fn=delete_by_discord,
307
- inputs=[admin_discord, admin_code],
308
- outputs=[del_status]
309
- ).then(
310
- fn=lambda: 1,
311
- outputs=[page_state]
312
- ).then(
313
- fn=filter_by_fields,
314
- inputs=[country_filter, city_filter, language_filter, gr.State(1)],
315
- outputs=[table_html, page_state, gr.Number(visible=False)]
316
- )
317
-
318
 
319
  with gr.Accordion("🔒 Admin Tools", open=False):
320
  del_btn = gr.Button("Delete Profile")
 
298
  )
299
 
300
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
301
 
302
  with gr.Accordion("🔒 Admin Tools", open=False):
303
  del_btn = gr.Button("Delete Profile")