Lrosado commited on
Commit
cffe192
·
verified ·
1 Parent(s): e5ef5b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- ['AWS','Google','Microsoft','Meta','IBM'],
148
  label='Company'
149
  )
150
 
@@ -161,7 +161,7 @@ demo = gr.Interface(
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.", "Microsoft"],
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
  ],
 
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
 
 
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
  ],