pgurazada1 commited on
Commit
5ef98b9
·
verified ·
1 Parent(s): 363b888

Added factual and subjective examples

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -81,8 +81,13 @@ textbox = gr.Textbox(placeholder="Enter your query here", lines=6)
81
  interface = gr.Interface(
82
  inputs=textbox, fn=predict, outputs="text",
83
  title="AMA on Tesla 2022 10-K",
84
- description="This web API presents an interface to ask questions on contents of the Tesla 2022 10-K report.",
85
  article="Note that questions that are not relevent to the Tesla 10-K report will not be answered.",
 
 
 
 
 
86
  allow_flagging="manual", flagging_options=["Useful", "Not Useful"]
87
  )
88
 
 
81
  interface = gr.Interface(
82
  inputs=textbox, fn=predict, outputs="text",
83
  title="AMA on Tesla 2022 10-K",
84
+ description="This web API presents an interface to ask questions on contents of the Tesla 10-K reports for the period 2019 - 2023.",
85
  article="Note that questions that are not relevent to the Tesla 10-K report will not be answered.",
86
+ examples=[["What was the total revenue of the company in 2022?", "$ 81.46 Billion"],
87
+ ["Summarize the Management Discussion and Analysis section of the 2021 report in 50 words.", ""],
88
+ ["What is the company's debt level in 2020?", ""],
89
+ ["Identify 5 key risks identified in the 2019 10k report? Respond with bullet point summaries.", ""]
90
+ ],
91
  allow_flagging="manual", flagging_options=["Useful", "Not Useful"]
92
  )
93