arpm01 commited on
Commit
a80dbe8
1 Parent(s): d859e21

Adding examples

Browse files
Files changed (2) hide show
  1. app.py +2 -0
  2. text1.txt +5 -0
app.py CHANGED
@@ -8,7 +8,9 @@ pipe = pipeline(task="summarization",
8
  model=model,
9
  tokenizer=tokenizer,)
10
 
 
11
  gr.Interface.from_pipeline(pipe,
12
  title="financial text2text",
13
  description="Add description",
 
14
  ).launch()
 
8
  model=model,
9
  tokenizer=tokenizer,)
10
 
11
+
12
  gr.Interface.from_pipeline(pipe,
13
  title="financial text2text",
14
  description="Add description",
15
+ examples=['text1.txt']
16
  ).launch()
text1.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ The Bangko Sentral ng Pilipinas (BSP) may be on the brink of losing control and credibility in herding inflation within the target range if monetary authorities do not adopt a tighter policy stance within the next three months, as growth in prices heat up globally due to the Russian invasion of Ukraine.
2
+
3
+ ING Bank’s senior economist in the Philippines Nicholas Mapa, in his latest commentary, expressed concern that the BSP intended to hold off tightening until the second half of 2022 while influential central banks like the US Federal Reserve is expected to again raise its policy rate this May.
4
+
5
+ The US Fed raised their benchmark interest rate by 25 basis points earlier this month and Mapa said a forecast of another 50 basis points in May was likely to be very much in play.