sohomghosh
commited on
Commit
·
b09fcda
1
Parent(s):
51c835e
Update app.py
Browse files
app.py
CHANGED
@@ -32,4 +32,4 @@ def score_fincat(txt):
|
|
32 |
return highlight, dff
|
33 |
|
34 |
iface = gr.Interface(fn=score_fincat, inputs=gr.inputs.Textbox(lines=5, placeholder="Enter Financial Text here..."), title="FiNCAT-2",description="Financial Numeral Claim Analysis Tool (Enhanced)", outputs=["highlight", "dataframe"], allow_flagging="never", examples=["In the year 2021, the markets were bullish. We expect to boost our sales by 80% this year.", "Last year our profit was $2.2M. This year it will increase to $3M"])
|
35 |
-
iface.launch(
|
|
|
32 |
return highlight, dff
|
33 |
|
34 |
iface = gr.Interface(fn=score_fincat, inputs=gr.inputs.Textbox(lines=5, placeholder="Enter Financial Text here..."), title="FiNCAT-2",description="Financial Numeral Claim Analysis Tool (Enhanced)", outputs=["highlight", "dataframe"], allow_flagging="never", examples=["In the year 2021, the markets were bullish. We expect to boost our sales by 80% this year.", "Last year our profit was $2.2M. This year it will increase to $3M"])
|
35 |
+
iface.launch()
|