ruisp commited on
Commit
e58318e
·
1 Parent(s): fbfd78e
Files changed (1) hide show
  1. public_app.py +6 -5
public_app.py CHANGED
@@ -70,10 +70,10 @@ if __name__ == '__main__':
70
  app = gr.Interface(fn=get_chain,
71
  inputs=[gr.Textbox(lines=2, placeholder="Enter your query", label='Your query'),
72
  gr.Textbox(lines=1, placeholder="Your OpenAI API key here",
73
- label='OpenAI Key (optional, for faster response time')],
74
- description='Here, you can query the [minutes]('
75
  'https://www.federalreserve.gov/monetarypolicy.htm) of the Federal'
76
- 'Open Market Committee meetings from March 1936 to June 2023. The answers are '
77
  'tuned to focus on economic, '
78
  'cultural, financial, and political developments occurring at given times.'
79
  'The model actively looks for the presence of date elements present in the query '
@@ -84,8 +84,9 @@ if __name__ == '__main__':
84
  'during periods of heavy usage. Please be patient :)',
85
  analytics_enabled=True,
86
  outputs=gr.Textbox(lines=1, label='Answer'),
87
- title='Chat with the FED-FOMC meeting minutes',
88
- examples=[['What was the economic outlook from the staff presented in the meeting '
 
89
  'of April 2009 with respect to labour market developments and industrial production?'],
90
  ['Who were the voting members present in the meeting on March 2010?'],
91
  ['How important was the pandemic of Covid-19 in the discussions during 2020?'],
 
70
  app = gr.Interface(fn=get_chain,
71
  inputs=[gr.Textbox(lines=2, placeholder="Enter your query", label='Your query'),
72
  gr.Textbox(lines=1, placeholder="Your OpenAI API key here",
73
+ label='OpenAI Key (optional, for faster response time)')],
74
+ description='Here, you can ask questions about information in the [minutes]('
75
  'https://www.federalreserve.gov/monetarypolicy.htm) of the Federal'
76
+ ' Open Market Committee meetings from March 1936 to June 2023. The answers are '
77
  'tuned to focus on economic, '
78
  'cultural, financial, and political developments occurring at given times.'
79
  'The model actively looks for the presence of date elements present in the query '
 
84
  'during periods of heavy usage. Please be patient :)',
85
  analytics_enabled=True,
86
  outputs=gr.Textbox(lines=1, label='Answer'),
87
+ title='Query the FED-FOMC meeting minutes',
88
+ examples=['Who were the voting members present in the meeting on March 2023?'],
89
+ ['What was the economic outlook from the staff presented in the meeting '
90
  'of April 2009 with respect to labour market developments and industrial production?'],
91
  ['Who were the voting members present in the meeting on March 2010?'],
92
  ['How important was the pandemic of Covid-19 in the discussions during 2020?'],