dmariko commited on
Commit
dcaefbe
1 Parent(s): 8a360b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -70,8 +70,8 @@ output_text = gr.outputs.Textbox()
70
 
71
  if __name__ == '__main__':
72
 
73
- text = [['Group profit | valIs | € 115.7 million && € 115.7 million | dTime | in 2019'],
74
- ['Net income | valIs | $48 million && $48 million | diGeo | in France && Net income | jPose | the interest rate && the interest rate | valIs | 0.6%'],
75
  ['The retirement age | incBy | 7 years && 7 years | cTime | 2018 && The retirement age | jpose | life expectancy && life expectancy | incBy | 10 years'],
76
  ['sales | incBy | € 115.7 million && € 115.7 million | dTime | in 2019 && € 115.7 million | diGeo | Europe']]
77
 
@@ -89,7 +89,7 @@ app = gr.Interface(
89
 
90
  inputs=[gr.inputs.Dropdown(model_name_list, label="Model Name"), 'text'], outputs=output_text,
91
 
92
- examples = [[MODEL_BUF["name"], text]],
93
 
94
  title="FTG",
95
 
 
70
 
71
  if __name__ == '__main__':
72
 
73
+ text = ['Group profit | valIs | € 115.7 million && € 115.7 million | dTime | in 2019']
74
+ examples = [['Net income | valIs | $48 million && $48 million | diGeo | in France && Net income | jPose | the interest rate && the interest rate | valIs | 0.6%'],
75
  ['The retirement age | incBy | 7 years && 7 years | cTime | 2018 && The retirement age | jpose | life expectancy && life expectancy | incBy | 10 years'],
76
  ['sales | incBy | € 115.7 million && € 115.7 million | dTime | in 2019 && € 115.7 million | diGeo | Europe']]
77
 
 
89
 
90
  inputs=[gr.inputs.Dropdown(model_name_list, label="Model Name"), 'text'], outputs=output_text,
91
 
92
+ examples = [[MODEL_BUF["name"], example]],
93
 
94
  title="FTG",
95