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