PR-Puppets commited on
Commit
da28342
1 Parent(s): 856ead0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,7 +9,7 @@ import shutil
9
  import json
10
  from pathlib import Path
11
 
12
- PAGE_SIZE = 10
13
  FILE_DIR_PATH = "."
14
 
15
  repo_id = os.environ["DATASET"]
@@ -309,7 +309,7 @@ some sora-alpha-artists
309
  outputs=[output, generation_history, generated_prompt],
310
  concurrency_limit=4
311
  )
312
- timer = gr.Timer(value=2)
313
  timer.tick(fn=list_all_outputs, inputs=[generation_history], outputs=[generation_history])
314
  demo.load(fn=list_all_outputs, inputs=[generation_history], outputs=[generation_history])
315
 
 
9
  import json
10
  from pathlib import Path
11
 
12
+ PAGE_SIZE = 5
13
  FILE_DIR_PATH = "."
14
 
15
  repo_id = os.environ["DATASET"]
 
309
  outputs=[output, generation_history, generated_prompt],
310
  concurrency_limit=4
311
  )
312
+ timer = gr.Timer(value=30)
313
  timer.tick(fn=list_all_outputs, inputs=[generation_history], outputs=[generation_history])
314
  demo.load(fn=list_all_outputs, inputs=[generation_history], outputs=[generation_history])
315