mrfakename commited on
Commit
8818f44
1 Parent(s): 1ba9e48

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -397,9 +397,14 @@ with gr.Blocks() as leaderboard:
397
 
398
  # vote.load(reload, outputs=[aud1, aud2, model1, model2])
399
  def makevisible(text):
400
- return (
401
  gr.update(visible=True), # r1
402
  gr.update(visible=True), # r2
 
 
 
 
 
403
  None, # model1
404
  None, # model2
405
  'Hi', # prevmodel1
 
397
 
398
  # vote.load(reload, outputs=[aud1, aud2, model1, model2])
399
  def makevisible(text):
400
+ yield (
401
  gr.update(visible=True), # r1
402
  gr.update(visible=True), # r2
403
+ )
404
+ time.sleep(5)
405
+ return (
406
+ None, # r1
407
+ None, # r2
408
  None, # model1
409
  None, # model2
410
  'Hi', # prevmodel1