pentarosarium commited on
Commit
0cc6350
·
1 Parent(s): b9895ff
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -49,7 +49,7 @@ class TranslationSystem:
49
  self.translator = DeepGoogleTranslator()
50
  self.method = 'deep-google'
51
  # Test translation
52
- test_result = self.translator.translate(text='test', source='en', target='ru')
53
  if not test_result:
54
  raise Exception("Deep translator test failed")
55
 
@@ -677,7 +677,7 @@ def create_output_file(df, uploaded_file, llm):
677
 
678
  def main():
679
  with st.sidebar:
680
- st.title("::: AI-анализ мониторинга новостей (v.3.36 ):::")
681
  st.subheader("по материалам СКАН-ИНТЕРФАКС ")
682
 
683
  model_choice = st.radio(
 
49
  self.translator = DeepGoogleTranslator()
50
  self.method = 'deep-google'
51
  # Test translation
52
+ test_result = self.translator.translate(text='test', source='ru', target='en')
53
  if not test_result:
54
  raise Exception("Deep translator test failed")
55
 
 
677
 
678
  def main():
679
  with st.sidebar:
680
+ st.title("::: AI-анализ мониторинга новостей (v.3.37 ):::")
681
  st.subheader("по материалам СКАН-ИНТЕРФАКС ")
682
 
683
  model_choice = st.radio(