OttoYu commited on
Commit
6226e12
·
1 Parent(s): da84a25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -3,5 +3,6 @@ import gradio as gr
3
  gr.Interface.load("models/OttoYu/Tree-ConditionHK")
4
  model = gr.Interface.load("models/OttoYu/Tree-ConditionHK",
5
  title="🌳 Tree Condition Classification 樹況分類 (bilingual)",
6
- description="This online application covers 22 most typical tree disease over 290+ images. If you find any trees that has hidden injures, you can classifies with our model and report the tree condition via this form (https://rb.gy/c1sfja). 此在線程式涵蓋22種官方部門樹況分類的標準,超過290張圖像。如果您發現任何樹木有隱傷,您可以使用我們的模型進行分類並通過此表格報告樹木狀況。 ")
 
7
  model.launch()
 
3
  gr.Interface.load("models/OttoYu/Tree-ConditionHK")
4
  model = gr.Interface.load("models/OttoYu/Tree-ConditionHK",
5
  title="🌳 Tree Condition Classification 樹況分類 (bilingual)",
6
+ description="This online application covers 22 most typical tree disease over 290+ images. If you find any trees that has hidden injures, you can classifies with our model and report the tree condition via this form (https://rb.gy/c1sfja). 此在線程式涵蓋22種官方部門樹況分類的標準,超過290張圖像。如果您發現任何樹木有隱傷,您可以使用我們的模型進行分類並通過此表格報告樹木狀況。 ",
7
+ flagging_callback=CSVLogger(),allow_flagging="manual", flagging_callback=hf_writer)
8
  model.launch()