Spaces:
Runtime error
Runtime error
freemt
commited on
Commit
·
e2701b8
1
Parent(s):
277ed79
Update gr.Interface cache_examples=True
Browse files- .gitignore +2 -0
- app.py +1 -1
.gitignore
CHANGED
@@ -141,3 +141,5 @@ cython_debug/
|
|
141 |
links/
|
142 |
# .gitignore
|
143 |
node_modules
|
|
|
|
|
|
141 |
links/
|
142 |
# .gitignore
|
143 |
node_modules
|
144 |
+
gradio_cached_examples
|
145 |
+
flagged
|
app.py
CHANGED
@@ -23,7 +23,7 @@ iface = gr.Interface(
|
|
23 |
inputs="text",
|
24 |
outputs="json",
|
25 |
examples=["test", "测试"],
|
26 |
-
cache_examples=True,
|
27 |
# live=True, # api if set to True
|
28 |
)
|
29 |
iface.launch()
|
|
|
23 |
inputs="text",
|
24 |
outputs="json",
|
25 |
examples=["test", "测试"],
|
26 |
+
# cache_examples=True, # seems to cause errors
|
27 |
# live=True, # api if set to True
|
28 |
)
|
29 |
iface.launch()
|