tanveeshsingh commited on
Commit
a7b1b03
1 Parent(s): c2f09d8

Changes for docs

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -53,7 +53,7 @@ Your output should be in JSON FORMAT with the keys "REASONING" and "SCORE":
53
  ],
54
  top_p=None,
55
  temperature=None,
56
- max_tokens=150,
57
  stream=False,
58
  seed=None,
59
  frequency_penalty=None,
@@ -93,8 +93,8 @@ 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="""
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
 
@@ -108,8 +108,7 @@ FY25 Guidance Highlights
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?")
 
53
  ],
54
  top_p=None,
55
  temperature=None,
56
+ max_tokens=300,
57
  stream=False,
58
  seed=None,
59
  frequency_penalty=None,
 
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="""August 28, 2024
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
 
 
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
  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."}]""")
113
  claim_input = gr.Textbox(label="Claim", lines=5, visible=False, value="Salesforce might earn about $38Bn next year")
114
  question_input = gr.Textbox(label="Question", lines=5, visible=False, value="What is Salesforce's revenue guidance for next year?")