themeetjani commited on
Commit
9362e58
1 Parent(s): f501a4f

Update pages/Auto_Report_Generation.py

Browse files
Files changed (1) hide show
  1. pages/Auto_Report_Generation.py +2 -2
pages/Auto_Report_Generation.py CHANGED
@@ -17,7 +17,7 @@ st.set_page_config(
17
  #the below code is for fetching company report.
18
  def all_combined(company_details):
19
  response = openai.ChatCompletion.create(
20
- model="gpt-4-1106-preview",
21
  messages=[
22
  {
23
  "role": "system",
@@ -58,4 +58,4 @@ if uploaded_file is not None:
58
  # To convert to a string based IO:
59
  stringio = StringIO(uploaded_file.getvalue().decode("utf-8"))
60
  string_data = stringio.read()
61
- st.text_area("Report", value = all_combined(string_data))
 
17
  #the below code is for fetching company report.
18
  def all_combined(company_details):
19
  response = openai.ChatCompletion.create(
20
+ model="gpt-4-turbo",
21
  messages=[
22
  {
23
  "role": "system",
 
58
  # To convert to a string based IO:
59
  stringio = StringIO(uploaded_file.getvalue().decode("utf-8"))
60
  string_data = stringio.read()
61
+ st.text_area("Report", value = all_combined(string_data[:100000]))