Spaces:
Runtime error
Runtime error
alpha-3
Browse files- 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
|
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='
|
88 |
-
examples=[
|
|
|
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?'],
|