pentarosarium commited on
Commit
e0f842d
·
1 Parent(s): c5b1bab

progress more 49

Browse files
Files changed (2) hide show
  1. app.py +2 -1
  2. requirements.txt +2 -1
app.py CHANGED
@@ -14,6 +14,7 @@ from openpyxl import load_workbook
14
  from openpyxl import Workbook
15
  from openpyxl.utils.dataframe import dataframe_to_rows
16
  from sentiment_decorators import sentiment_analysis_decorator
 
17
  from langchain_community.llms import HuggingFacePipeline
18
  from langchain.prompts import PromptTemplate
19
  from langchain.chains import LLMChain
@@ -417,7 +418,7 @@ def create_output_file(df, uploaded_file, analysis_df):
417
  return output
418
 
419
  def main():
420
- st.title("... приступим к анализу... версия 48")
421
 
422
  # Initialize session state
423
  if 'processed_df' not in st.session_state:
 
14
  from openpyxl import Workbook
15
  from openpyxl.utils.dataframe import dataframe_to_rows
16
  from sentiment_decorators import sentiment_analysis_decorator
17
+ import transformers
18
  from langchain_community.llms import HuggingFacePipeline
19
  from langchain.prompts import PromptTemplate
20
  from langchain.chains import LLMChain
 
418
  return output
419
 
420
  def main():
421
+ st.title("... приступим к анализу... версия 49")
422
 
423
  # Initialize session state
424
  if 'processed_df' not in st.session_state:
requirements.txt CHANGED
@@ -11,4 +11,5 @@ rapidfuzz
11
  matplotlib
12
  sacremoses
13
  langchain
14
- langchain-community
 
 
11
  matplotlib
12
  sacremoses
13
  langchain
14
+ langchain-community
15
+ transformers