Spaces:
Runtime error
Runtime error
Upgrade Gradio and cache examples (#3)
Browse files- Upgrade Gradio and cache examples (0d3a1017d1bb1fa236ea63b170980c42b54ebd58)
- cache examples (42d560f4ef7176a72d2192c1718f4b884ac3cfee)
Co-authored-by: Radamés Ajna <[email protected]>
- README.md +1 -1
- scripts/gradio_demo.py +1 -1
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 👀
|
|
4 |
colorFrom: pink
|
5 |
colorTo: green
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 3.0
|
8 |
app_file: ./scripts/gradio_demo.py
|
9 |
pinned: true
|
10 |
python_version: 3.7.6
|
|
|
4 |
colorFrom: pink
|
5 |
colorTo: green
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 3.34.0
|
8 |
app_file: ./scripts/gradio_demo.py
|
9 |
pinned: true
|
10 |
python_version: 3.7.6
|
scripts/gradio_demo.py
CHANGED
@@ -664,7 +664,7 @@ demo = gr.Interface(
|
|
664 |
examples=examples,
|
665 |
thumbnail="bite_thumbnail.png",
|
666 |
allow_flagging="never",
|
667 |
-
cache_examples=
|
668 |
examples_per_page=14,
|
669 |
)
|
670 |
|
|
|
664 |
examples=examples,
|
665 |
thumbnail="bite_thumbnail.png",
|
666 |
allow_flagging="never",
|
667 |
+
cache_examples=True,
|
668 |
examples_per_page=14,
|
669 |
)
|
670 |
|