jslin09 commited on
Commit
e8ef737
·
1 Parent(s): 1284fa0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -14,7 +14,7 @@ examples=[
14
  ["森上梅前明知其無資力支付酒店消費,亦無付款意願,竟意圖為自己不法之所有,"]
15
  ]
16
 
17
- iface = gr.Interface.load("huggingface/jslin09/bloom-560m-finetuned-fraud",
18
  title="Drafting",
19
  description=description,
20
  examples=examples,
@@ -29,6 +29,7 @@ iface = gr.Interface.load("huggingface/jslin09/bloom-560m-finetuned-fraud",
29
  ],
30
  outputs=gr.Textbox(label="Generated Output", lines=28),
31
  ).queue()
 
32
 
33
  demo = gr.TabbedInterface(
34
  [iface], ["分頁標籤"],
 
14
  ["森上梅前明知其無資力支付酒店消費,亦無付款意願,竟意圖為自己不法之所有,"]
15
  ]
16
 
17
+ iface = gr.Interface(
18
  title="Drafting",
19
  description=description,
20
  examples=examples,
 
29
  ],
30
  outputs=gr.Textbox(label="Generated Output", lines=28),
31
  ).queue()
32
+ iface.load("huggingface/jslin09/bloom-560m-finetuned-fraud")
33
 
34
  demo = gr.TabbedInterface(
35
  [iface], ["分頁標籤"],