Spaces:
Running
Running
Banjo Obayomi commited on
Commit ·
753bebd
1
Parent(s): 75c6588
add cache mode
Browse files
app.py
CHANGED
|
@@ -264,7 +264,6 @@ with gr.Blocks() as demo:
|
|
| 264 |
inputs=[story_prompt, lore_file],
|
| 265 |
label="Example Prompts",
|
| 266 |
cache_examples=True, # Enable caching for examples
|
| 267 |
-
cache_mode="lazy",
|
| 268 |
outputs=gr.HTML(label="Game Output"),
|
| 269 |
fn=build_and_display_game,
|
| 270 |
run_on_click=False,
|
|
|
|
| 264 |
inputs=[story_prompt, lore_file],
|
| 265 |
label="Example Prompts",
|
| 266 |
cache_examples=True, # Enable caching for examples
|
|
|
|
| 267 |
outputs=gr.HTML(label="Game Output"),
|
| 268 |
fn=build_and_display_game,
|
| 269 |
run_on_click=False,
|