Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -144,7 +144,7 @@ def predict(user_input, company):
|
|
144 |
|
145 |
textbox = gr.Textbox(placeholder="Enter your query here", lines=6)
|
146 |
company = gr.Radio(
|
147 |
-
['
|
148 |
label='Company'
|
149 |
)
|
150 |
|
@@ -160,9 +160,9 @@ demo = gr.Interface(
|
|
160 |
title="Cloud 10-K statements",
|
161 |
description="This web API presents an interface to ask questions on contents of various cloud provider 10-K reports for 2023",
|
162 |
article="Note that questions that are not relevant to top cloud provider 10-K reports will not be answered.",
|
163 |
-
examples=[["What was the total revenue of the company in 2023?", "
|
164 |
["Summarize the Management Discussion and Analysis section of the 2023 report in 50 words.", "msft"],
|
165 |
-
["What was the company's debt level in 2023?", "
|
166 |
["Identify 5 key risks identified in the 2023 10k report? Respond with bullet point summaries.", "IBM"]
|
167 |
],
|
168 |
concurrency_limit=16
|
|
|
144 |
|
145 |
textbox = gr.Textbox(placeholder="Enter your query here", lines=6)
|
146 |
company = gr.Radio(
|
147 |
+
['aws','google','msft','Meta','IBM'],
|
148 |
label='Company'
|
149 |
)
|
150 |
|
|
|
160 |
title="Cloud 10-K statements",
|
161 |
description="This web API presents an interface to ask questions on contents of various cloud provider 10-K reports for 2023",
|
162 |
article="Note that questions that are not relevant to top cloud provider 10-K reports will not be answered.",
|
163 |
+
examples=[["What was the total revenue of the company in 2023?", "aws"],
|
164 |
["Summarize the Management Discussion and Analysis section of the 2023 report in 50 words.", "msft"],
|
165 |
+
["What was the company's debt level in 2023?", "google"],
|
166 |
["Identify 5 key risks identified in the 2023 10k report? Respond with bullet point summaries.", "IBM"]
|
167 |
],
|
168 |
concurrency_limit=16
|