Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ import shutil
|
|
| 9 |
import json
|
| 10 |
from pathlib import Path
|
| 11 |
|
| 12 |
-
PAGE_SIZE =
|
| 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=
|
| 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 |
|