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

Update app.py

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