Spaces:
Running
Running
pentarosarium
commited on
Commit
•
9fe5f6d
1
Parent(s):
cdaad51
3.58
Browse files- app.py +4 -1
- requirements.txt +2 -1
app.py
CHANGED
@@ -30,6 +30,9 @@ from threading import Event
|
|
30 |
import threading
|
31 |
from queue import Queue
|
32 |
|
|
|
|
|
|
|
33 |
class ProcessControl:
|
34 |
def __init__(self):
|
35 |
self.pause_event = Event()
|
@@ -998,7 +1001,7 @@ def main():
|
|
998 |
st.set_page_config(layout="wide")
|
999 |
|
1000 |
with st.sidebar:
|
1001 |
-
st.title("::: AI-анализ мониторинга новостей (v.3.
|
1002 |
st.subheader("по материалам СКАН-ИНТЕРФАКС")
|
1003 |
|
1004 |
model_choice = st.radio(
|
|
|
30 |
import threading
|
31 |
from queue import Queue
|
32 |
|
33 |
+
from deep-translator import GoogleTranslator
|
34 |
+
|
35 |
+
|
36 |
class ProcessControl:
|
37 |
def __init__(self):
|
38 |
self.pause_event = Event()
|
|
|
1001 |
st.set_page_config(layout="wide")
|
1002 |
|
1003 |
with st.sidebar:
|
1004 |
+
st.title("::: AI-анализ мониторинга новостей (v.3.58):::")
|
1005 |
st.subheader("по материалам СКАН-ИНТЕРФАКС")
|
1006 |
|
1007 |
model_choice = st.radio(
|
requirements.txt
CHANGED
@@ -19,4 +19,5 @@ pdfkit
|
|
19 |
Jinja2==3.1.2
|
20 |
langchain_openai
|
21 |
optimum
|
22 |
-
sentencepiece
|
|
|
|
19 |
Jinja2==3.1.2
|
20 |
langchain_openai
|
21 |
optimum
|
22 |
+
sentencepiece
|
23 |
+
deep-translator
|