Spaces:
Running
Running
Commit ·
0a36022
1
Parent(s): a0c2c81
progress more 52
Browse files
app.py
CHANGED
|
@@ -18,6 +18,7 @@ import transformers
|
|
| 18 |
from langchain_community.llms import HuggingFacePipeline
|
| 19 |
from langchain.prompts import PromptTemplate
|
| 20 |
from langchain.chains import LLMChain
|
|
|
|
| 21 |
|
| 22 |
# Initialize pymystem3 for lemmatization
|
| 23 |
mystem = Mystem()
|
|
@@ -438,7 +439,7 @@ def create_output_file(df, uploaded_file, analysis_df):
|
|
| 438 |
return output
|
| 439 |
|
| 440 |
def main():
|
| 441 |
-
st.title("... приступим к анализу... версия
|
| 442 |
|
| 443 |
# Initialize session state
|
| 444 |
if 'processed_df' not in st.session_state:
|
|
|
|
| 18 |
from langchain_community.llms import HuggingFacePipeline
|
| 19 |
from langchain.prompts import PromptTemplate
|
| 20 |
from langchain.chains import LLMChain
|
| 21 |
+
from huggingface_hub import login
|
| 22 |
|
| 23 |
# Initialize pymystem3 for lemmatization
|
| 24 |
mystem = Mystem()
|
|
|
|
| 439 |
return output
|
| 440 |
|
| 441 |
def main():
|
| 442 |
+
st.title("... приступим к анализу... версия 52")
|
| 443 |
|
| 444 |
# Initialize session state
|
| 445 |
if 'processed_df' not in st.session_state:
|