prathameshdalal commited on
Commit
0d424fc
1 Parent(s): 1b7cd78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def companyChat(company_name, chat_history):
19
  f"Identify and analyze {company}'s earnings per share (EPS diluted and basic), Calculate Return on equity (ROE) and Debt-to-Equity ratio For past few years. In English",
20
  f"Add bullet points for main risks identified by {company} in its 10-K filing. In English" ]
21
  for question in questions:
22
- result = qa({"question": question, "chat_history": chat_history}
23
  chat_history.append((question, result["answer"]))
24
  outputs.append(result["answer"]) # Append both answers to a list
25
  return outputs # Return the list of both answers
 
19
  f"Identify and analyze {company}'s earnings per share (EPS diluted and basic), Calculate Return on equity (ROE) and Debt-to-Equity ratio For past few years. In English",
20
  f"Add bullet points for main risks identified by {company} in its 10-K filing. In English" ]
21
  for question in questions:
22
+ result = qa({"question": question, "chat_history": chat_history})
23
  chat_history.append((question, result["answer"]))
24
  outputs.append(result["answer"]) # Append both answers to a list
25
  return outputs # Return the list of both answers