Spaces:
Sleeping
Sleeping
Commit
·
6eb9bd2
1
Parent(s):
c9620e1
v.1.25+
Browse files
app.py
CHANGED
@@ -8,6 +8,8 @@ import logging
|
|
8 |
import io
|
9 |
from rapidfuzz import fuzz
|
10 |
import time
|
|
|
|
|
11 |
|
12 |
def fuzzy_deduplicate(df, column, threshold=55):
|
13 |
"""Deduplicate rows based on fuzzy matching of text content"""
|
@@ -526,7 +528,7 @@ def create_interface():
|
|
526 |
control = ProcessControl()
|
527 |
|
528 |
with gr.Blocks(theme=gr.themes.Soft()) as app:
|
529 |
-
gr.Markdown("# AI-анализ мониторинга новостей v.1.25")
|
530 |
|
531 |
with gr.Row():
|
532 |
file_input = gr.File(
|
|
|
8 |
import io
|
9 |
from rapidfuzz import fuzz
|
10 |
import time
|
11 |
+
import os
|
12 |
+
os.environ['grow_key'] = 'groq_key'
|
13 |
|
14 |
def fuzzy_deduplicate(df, column, threshold=55):
|
15 |
"""Deduplicate rows based on fuzzy matching of text content"""
|
|
|
528 |
control = ProcessControl()
|
529 |
|
530 |
with gr.Blocks(theme=gr.themes.Soft()) as app:
|
531 |
+
gr.Markdown("# AI-анализ мониторинга новостей v.1.25+")
|
532 |
|
533 |
with gr.Row():
|
534 |
file_input = gr.File(
|