admin commited on
Commit
e314b9a
1 Parent(s): f445a9e

fix cache example

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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()