Spaces:
Build error
Build error
sohomghosh
commited on
Commit
β’
7806b82
1
Parent(s):
69ff99c
Update app.py
Browse files
app.py
CHANGED
@@ -17,4 +17,4 @@ def get_readability(text):
|
|
17 |
return "Prediction: "+ans +"\nPredicted probability: "+ score
|
18 |
|
19 |
iface = gr.Interface(fn=get_readability, inputs="textbox", title="FinRead",description="Financial Readability Assessment Tool", outputs="textbox", allow_flagging="never", examples=[['Inflation is the rate of increase in prices over a given period of time. Inflation is typically a broad measure, such as the overall increase in prices or the increase in the cost of living in a country.'], ['Legally assured line of credit with a bank'], ['A mutual fund is a type of financial vehicle made up of a pool of money collected from many investors to invest in securities like stocks, bonds, money market instruments']])
|
20 |
-
iface.launch()
|
|
|
17 |
return "Prediction: "+ans +"\nPredicted probability: "+ score
|
18 |
|
19 |
iface = gr.Interface(fn=get_readability, inputs="textbox", title="FinRead",description="Financial Readability Assessment Tool", outputs="textbox", allow_flagging="never", examples=[['Inflation is the rate of increase in prices over a given period of time. Inflation is typically a broad measure, such as the overall increase in prices or the increase in the cost of living in a country.'], ['Legally assured line of credit with a bank'], ['A mutual fund is a type of financial vehicle made up of a pool of money collected from many investors to invest in securities like stocks, bonds, money market instruments']])
|
20 |
+
iface.launch()
|