Spaces:
Runtime error
Runtime error
Caching examples again.
Browse files- public_app.py +2 -2
public_app.py
CHANGED
|
@@ -71,7 +71,7 @@ if __name__ == '__main__':
|
|
| 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 use a ChatGPT-powered
|
| 75 |
' about the [minutes]('
|
| 76 |
'https://www.federalreserve.gov/monetarypolicy.htm) of the Federal'
|
| 77 |
' Open Market Committee meetings from March 1936 to June 2023. The answers are '
|
|
@@ -96,7 +96,7 @@ if __name__ == '__main__':
|
|
| 96 |
'of April 2009 with respect to labour market developments and industrial production?'],
|
| 97 |
['How important was the pandemic of Covid-19 in the discussions during 2020 for the effects of monetary policy?'],
|
| 98 |
['What was the impact of the oil crisis for the economic outlook during 1973?']],
|
| 99 |
-
cache_examples=
|
| 100 |
)
|
| 101 |
app.queue(concurrency_count=2)
|
| 102 |
app.launch()
|
|
|
|
| 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 use a ChatGPT-powered retrieval augmented generation system to ask questions'
|
| 75 |
' about the [minutes]('
|
| 76 |
'https://www.federalreserve.gov/monetarypolicy.htm) of the Federal'
|
| 77 |
' Open Market Committee meetings from March 1936 to June 2023. The answers are '
|
|
|
|
| 96 |
'of April 2009 with respect to labour market developments and industrial production?'],
|
| 97 |
['How important was the pandemic of Covid-19 in the discussions during 2020 for the effects of monetary policy?'],
|
| 98 |
['What was the impact of the oil crisis for the economic outlook during 1973?']],
|
| 99 |
+
cache_examples=True
|
| 100 |
)
|
| 101 |
app.queue(concurrency_count=2)
|
| 102 |
app.launch()
|