hayas commited on
Commit
4b54afa
1 Parent(s): 586d5b2

Set `cache_examples=False`

Browse files

It will be fixed in the next gradio release (https://github.com/gradio-app/gradio/issues/8017), but currently, there's an issue related to `cache_examples` on ZeroGPU. This PR is a temporary workaround.

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -176,7 +176,7 @@ with gr.Blocks() as demo:
176
  0.0,
177
  0.9,
178
  ],
179
- ], inputs=inputs)
180
 
181
 
182
  if __name__ == "__main__":
 
176
  0.0,
177
  0.9,
178
  ],
179
+ ], inputs=inputs, cache_examples=False)
180
 
181
 
182
  if __name__ == "__main__":