Spaces:
Running
Running
Anuttama Chakraborty
commited on
Commit
·
aa77ab3
1
Parent(s):
7391769
answer text length
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ interface = gr.Interface(
|
|
33 |
fn=answer_financial_query, # Function to call
|
34 |
inputs=gr.Textbox(lines=2, placeholder="Enter your financial query here..."), # Input component
|
35 |
outputs=[ # Output components
|
36 |
-
gr.Textbox(label="Answer", lines=
|
37 |
gr.Textbox(label="Confidence Score"),
|
38 |
gr.Textbox(label="Confidence Level")
|
39 |
# gr.Textbox(label="Source Documents", lines=10)
|
@@ -43,7 +43,8 @@ interface = gr.Interface(
|
|
43 |
examples=[
|
44 |
["What is the current revenue growth rate?"],
|
45 |
["Explain the concept of EBITDA."],
|
46 |
-
["What are the key financial risks mentioned in the report?"]
|
|
|
47 |
],
|
48 |
cache_examples=False
|
49 |
)
|
|
|
33 |
fn=answer_financial_query, # Function to call
|
34 |
inputs=gr.Textbox(lines=2, placeholder="Enter your financial query here..."), # Input component
|
35 |
outputs=[ # Output components
|
36 |
+
gr.Textbox(label="Answer", lines=8),
|
37 |
gr.Textbox(label="Confidence Score"),
|
38 |
gr.Textbox(label="Confidence Level")
|
39 |
# gr.Textbox(label="Source Documents", lines=10)
|
|
|
43 |
examples=[
|
44 |
["What is the current revenue growth rate?"],
|
45 |
["Explain the concept of EBITDA."],
|
46 |
+
["What are the key financial risks mentioned in the report?"],
|
47 |
+
["How has the debt-to-equity ratio changed over the last two years?"]
|
48 |
],
|
49 |
cache_examples=False
|
50 |
)
|