KatGaw commited on
Commit
9053fb3
1 Parent(s): 67c7c7e

changing requirements

Browse files
Files changed (4) hide show
  1. .DS_Store +0 -0
  2. app.py +0 -9
  3. requirements.txt +23 -7
  4. tools/sentiment_analysis_util.py +0 -6
.DS_Store CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
 
app.py CHANGED
@@ -1,19 +1,10 @@
1
  from openai import OpenAI
2
  import streamlit as st
3
- import utils as u
4
  from langchain_openai import ChatOpenAI
5
  from tools import sentiment_analysis_util
6
- import functools
7
- from typing import Annotated
8
- import operator
9
- from typing import Sequence, TypedDict
10
  import numpy as np
11
- import pandas as pd
12
  from dotenv import load_dotenv
13
  import os
14
- import functools
15
- from typing import Annotated
16
- import operator
17
 
18
  st.set_page_config(page_title="LangChain Agent", layout="wide")
19
  load_dotenv()
 
1
  from openai import OpenAI
2
  import streamlit as st
 
3
  from langchain_openai import ChatOpenAI
4
  from tools import sentiment_analysis_util
 
 
 
 
5
  import numpy as np
 
6
  from dotenv import load_dotenv
7
  import os
 
 
 
8
 
9
  st.set_page_config(page_title="LangChain Agent", layout="wide")
10
  load_dotenv()
requirements.txt CHANGED
@@ -1,7 +1,23 @@
1
- chainlit==0.7.700
2
- langchain==0.2.5
3
- langchain_community==0.2.5
4
- langchain_core==0.2.9
5
- langchain_huggingface==0.0.3
6
- langchain_text_splitters==0.2.1
7
- python-dotenv==1.0.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ python-dotenv==1.0.1
3
+
4
+ beautifulsoup4==4.12.3
5
+
6
+
7
+ fastapi==0.110.3
8
+
9
+ GoogleNews==1.6.15
10
+
11
+ langchain==0.2.14
12
+ langchain-community==0.2.12
13
+ langchain-core==0.2.33
14
+ langchain-experimental==0.0.64
15
+ langchain-openai==0.1.21
16
+
17
+ openai==1.40.8
18
+ transformers==4.44.0
19
+
20
+ pandas==2.2.2
21
+ praw==7.7.1
22
+ streamlit==1.37.1
23
+
tools/sentiment_analysis_util.py CHANGED
@@ -3,16 +3,10 @@ import os
3
  from dotenv import load_dotenv
4
  from transformers import pipeline
5
  import pandas as pd
6
- from collections import defaultdict
7
- from datetime import date
8
- import matplotlib.pyplot as plt
9
- import http.client, urllib.parse
10
  from GoogleNews import GoogleNews
11
  from langchain_openai import ChatOpenAI
12
- import pandas as pd
13
  import praw
14
  from datetime import datetime
15
- import numpy as np
16
 
17
  load_dotenv()
18
 
 
3
  from dotenv import load_dotenv
4
  from transformers import pipeline
5
  import pandas as pd
 
 
 
 
6
  from GoogleNews import GoogleNews
7
  from langchain_openai import ChatOpenAI
 
8
  import praw
9
  from datetime import datetime
 
10
 
11
  load_dotenv()
12