epalvarez commited on
Commit
8d0a45d
·
verified ·
1 Parent(s): 296e060

adding examples to the Gradio interface

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -284,6 +284,11 @@ demo = gr.Interface(
284
  title = "Ask Me Anything (AMA) on Tesla 10-K statements",
285
  description= " This web API presents an interface to ask questions about the contents of the Tesla 10-K reports for the period 2019 - 2023.",
286
  article = "Note that questions that are not relevant to the Tesla 10-K report will not be answered.",
 
 
 
 
 
287
  allow_flagging="auto", # automatically push to the HuggingFace Dataset
288
  concurrency_limit = 16
289
  )
 
284
  title = "Ask Me Anything (AMA) on Tesla 10-K statements",
285
  description= " This web API presents an interface to ask questions about the contents of the Tesla 10-K reports for the period 2019 - 2023.",
286
  article = "Note that questions that are not relevant to the Tesla 10-K report will not be answered.",
287
+ examples=[["What was the total revenue of the company in 2022?", "$ 81.46 Billion"],
288
+ ["Summarize the Management Discussion and Analysis section of the 2021 report in 50 words.", ""],
289
+ ["What was the company's debt level in 2020?", ""],
290
+ ["Identify 5 key risks identified in the 2019 10k report? Respond with bullet point summaries.", ""]
291
+ ],
292
  allow_flagging="auto", # automatically push to the HuggingFace Dataset
293
  concurrency_limit = 16
294
  )