DrishtiSharma commited on
Commit
ea65a33
·
verified ·
1 Parent(s): b11659d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -13,6 +13,8 @@ from langchain_openai import ChatOpenAI
13
  openai_api_key = os.getenv("OPENAI_API_KEY")
14
  groq_api_key = os.getenv("GROQ_API_KEY")
15
 
 
 
16
  # Initialize the LLM based on user selection
17
  def initialize_llm(model_choice):
18
  if model_choice == "llama-3.3-70b":
@@ -74,7 +76,7 @@ def load_dataset_into_session():
74
  except Exception as e:
75
  st.error(f"Error reading uploaded file: {e}")
76
 
77
- st.title("Chat with Patent Dataset Using PandasAI")
78
 
79
  # Load dataset into session
80
  load_dataset_into_session()
 
13
  openai_api_key = os.getenv("OPENAI_API_KEY")
14
  groq_api_key = os.getenv("GROQ_API_KEY")
15
 
16
+ st.title("Chat with Patent Dataset Using PandasAI")
17
+
18
  # Initialize the LLM based on user selection
19
  def initialize_llm(model_choice):
20
  if model_choice == "llama-3.3-70b":
 
76
  except Exception as e:
77
  st.error(f"Error reading uploaded file: {e}")
78
 
79
+
80
 
81
  # Load dataset into session
82
  load_dataset_into_session()