Spaces:
Running
Running
admin
commited on
Commit
•
5541a96
1
Parent(s):
49455f1
fix cache example
Browse files
app.py
CHANGED
@@ -100,6 +100,7 @@ if __name__ == "__main__":
|
|
100 |
],
|
101 |
examples=get_jpg_files(f"{MODEL_DIR}/examples"),
|
102 |
allow_flagging="never",
|
|
|
103 |
)
|
104 |
|
105 |
with gr.Tab("在线模式 Online Mode"):
|
@@ -113,7 +114,6 @@ if __name__ == "__main__":
|
|
113 |
gr.Textbox(label="存在男性 Has Male"),
|
114 |
],
|
115 |
allow_flagging="never",
|
116 |
-
cache_examples=False,
|
117 |
)
|
118 |
|
119 |
iface.launch()
|
|
|
100 |
],
|
101 |
examples=get_jpg_files(f"{MODEL_DIR}/examples"),
|
102 |
allow_flagging="never",
|
103 |
+
cache_examples=False,
|
104 |
)
|
105 |
|
106 |
with gr.Tab("在线模式 Online Mode"):
|
|
|
114 |
gr.Textbox(label="存在男性 Has Male"),
|
115 |
],
|
116 |
allow_flagging="never",
|
|
|
117 |
)
|
118 |
|
119 |
iface.launch()
|