jslin09 commited on
Commit
519271e
1 Parent(s): af282bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -4,7 +4,8 @@ API_URL = "https://api-inference.huggingface.co/models/jslin09/bloom-560m-finetu
4
  headers = {"Authorization": "Bearer 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"} # Read only
5
 
6
  iface = gr.Interface.load("huggingface/models/jslin09/bloom-560m-finetuned-fraud",
7
- examples=[["闕很大明知金融帳戶之存摺、提款卡及密碼係供自己使用之重要理財工具,"]]
 
8
  )
9
 
10
- iface.launch()
 
4
  headers = {"Authorization": "Bearer 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"} # Read only
5
 
6
  iface = gr.Interface.load("huggingface/models/jslin09/bloom-560m-finetuned-fraud",
7
+ examples=[["闕很大明知金融帳戶之存摺、提款卡及密碼係供自己使用之重要理財工具,"]],
8
+ api_key="Bearer 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"
9
  )
10
 
11
+ iface.launch()