Spaces:
Sleeping
Sleeping
Commit
·
689775d
1
Parent(s):
380afa6
v.1.26+
Browse files- app.py +3 -1
- requirements.txt +2 -1
app.py
CHANGED
@@ -10,6 +10,8 @@ from rapidfuzz import fuzz
|
|
10 |
import time
|
11 |
import os
|
12 |
groq_key = os.environ['groq_key']
|
|
|
|
|
13 |
|
14 |
def fuzzy_deduplicate(df, column, threshold=55):
|
15 |
"""Deduplicate rows based on fuzzy matching of text content"""
|
@@ -528,7 +530,7 @@ def create_interface():
|
|
528 |
control = ProcessControl()
|
529 |
|
530 |
with gr.Blocks(theme=gr.themes.Soft()) as app:
|
531 |
-
gr.Markdown("# AI-анализ мониторинга новостей v.1.26")
|
532 |
|
533 |
with gr.Row():
|
534 |
file_input = gr.File(
|
|
|
10 |
import time
|
11 |
import os
|
12 |
groq_key = os.environ['groq_key']
|
13 |
+
from langchain_openai import ChatOpenAI
|
14 |
+
|
15 |
|
16 |
def fuzzy_deduplicate(df, column, threshold=55):
|
17 |
"""Deduplicate rows based on fuzzy matching of text content"""
|
|
|
530 |
control = ProcessControl()
|
531 |
|
532 |
with gr.Blocks(theme=gr.themes.Soft()) as app:
|
533 |
+
gr.Markdown("# AI-анализ мониторинга новостей v.1.26+")
|
534 |
|
535 |
with gr.Row():
|
536 |
file_input = gr.File(
|
requirements.txt
CHANGED
@@ -23,4 +23,5 @@ sentencepiece
|
|
23 |
deep_translator
|
24 |
googletrans
|
25 |
plotly
|
26 |
-
datetime
|
|
|
|
23 |
deep_translator
|
24 |
googletrans
|
25 |
plotly
|
26 |
+
datetime
|
27 |
+
langchain_openai
|