jslin09 commited on
Commit
4be830b
·
1 Parent(s): 146a9ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -15,6 +15,12 @@ iface = gr.Interface.load("huggingface/jslin09/bloom-560m-finetuned-fraud",
15
  description=description,
16
  examples=[["闕很大明知金融帳戶之存摺、提款卡及密碼係供自己使用之重要理財工具,"],["森上梅前明知其無資力支付酒店消費,亦無付款意願,竟意圖為自己不法之所有,"]],
17
  api_key=api_key,
 
 
 
 
 
18
  )
19
 
20
- iface.launch()
 
 
15
  description=description,
16
  examples=[["闕很大明知金融帳戶之存摺、提款卡及密碼係供自己使用之重要理財工具,"],["森上梅前明知其無資力支付酒店消費,亦無付款意願,竟意圖為自己不法之所有,"]],
17
  api_key=api_key,
18
+ ).queue()
19
+
20
+ demo = gr.TabbedInterface(
21
+ [iface], ["Generative"],
22
+ title="Legal Document Drafting",
23
  )
24
 
25
+ demo.queue()
26
+ demo.launch(share=False)