tanveeshsingh commited on
Commit
c2f09d8
1 Parent(s): 01c8c6c
Files changed (1) hide show
  1. app.py +21 -5
app.py CHANGED
@@ -93,11 +93,27 @@ with gr.Blocks() as demo:
93
  input_style_dropdown = gr.Dropdown(label="Input Style", choices=["Dialog", "NLI", "QA format"], value="Dialog", visible=True)
94
 
95
  with gr.Row():
96
- document_input = gr.Textbox(label="Document", lines=5, visible=True, value="Alex is a good boy. He stays in California")
97
- conversation_input = gr.Textbox(label="Conversation", lines=5, visible=True, value='[{"role": "user", "content": "Where does Alex stay?"}, {"role": "assistant", "content": "Alex lives in California"}]')
98
- claim_input = gr.Textbox(label="Claim", lines=5, visible=False, value="Alex lives in California")
99
- question_input = gr.Textbox(label="Question", lines=5, visible=False, value="Where does Alex stay?")
100
- answer_input = gr.Textbox(label="Answer", lines=5, visible=False, value="Alex lives in California")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
 
102
  with gr.Row():
103
  result_output = gr.Textbox(label="Veritas Model")
 
93
  input_style_dropdown = gr.Dropdown(label="Input Style", choices=["Dialog", "NLI", "QA format"], value="Dialog", visible=True)
94
 
95
  with gr.Row():
96
+ document_input = gr.Textbox(label="Document", lines=5, visible=True, value="""
97
+ SAN FRANCISCO--(BUSINESS WIRE)-- Salesforce (NYSE: CRM), the #1 AI CRM, today announced results for its second quarter fiscal 2025 ended July 31, 2024.
98
+
99
+ Second Quarter Highlights
100
+
101
+ Second Quarter Revenue of $9.33 Billion, up 8% Year-Over-Year ("Y/Y"), up 9% in Constant Currency ("CC"), inclusive of Subscription & Support Revenue of $8.76 Billion, up 9% Y/Y, up 10% Y/Y in CC
102
+ Second Quarter GAAP Operating Margin of 19.1% and non-GAAP Operating Margin of 33.7%
103
+ Current Remaining Performance Obligation of $26.5 Billion, up 10% Y/Y, up 11% Y/Y in CC
104
+ Second Quarter Operating Cash Flow of $0.89 Billion, up 10% Y/Y, and Free Cash Flow of $0.76 Billion, up 20% Y/Y
105
+ Returned $4.3 Billion in the Form of Share Repurchases and $0.4 Billion in Dividend Payments to Stockholders
106
+ FY25 Guidance Highlights
107
+
108
+ Initiates Third Quarter FY25 Revenue Guidance of $9.31 Billion to $9.36 Billion, up 7% Y/Y
109
+ Maintains Full Year FY25 Revenue Guidance of $37.7 Billion to $38.0 Billion, up 8% - 9% Y/Y and Maintains Full Year FY25 Subscription & Support Revenue Growth Guidance of Slightly Below 10% Y/Y & Approximately 10% in CC
110
+ Updates Full Year FY25 GAAP Operating Margin Guidance to 19.7% and Updates non-GAAP Operating Margin Guidance to 32.8%
111
+ Raises Full Year FY25 Operating Cash Flow Growth Guidance to 23% to 25% Y/Y
112
+ """)
113
+ conversation_input = gr.Textbox(label="Conversation", lines=5, visible=True, value="""[{"role": "user", "content": "Salesforce has a fantastic year with Agent Force"}, {"role": "assistant", "content": "Yes, they seem to be doing quite well."}, {"role": "user", "content": "Can you tell me their projected earnings for next year?"}, {"role": "assistant", "content": "Yes, it is about $38Bn."}]""")
114
+ claim_input = gr.Textbox(label="Claim", lines=5, visible=False, value="Salesforce might earn about $38Bn next year")
115
+ question_input = gr.Textbox(label="Question", lines=5, visible=False, value="What is Salesforce's revenue guidance for next year?")
116
+ answer_input = gr.Textbox(label="Answer", lines=5, visible=False, value="Salesforce revenue guidance for next year is about $38Bn ")
117
 
118
  with gr.Row():
119
  result_output = gr.Textbox(label="Veritas Model")