pentarosarium commited on
Commit
3a7cc33
·
1 Parent(s): 5cd7bdb
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -717,7 +717,7 @@ def process_file(uploaded_file, model_choice, translation_method=None):
717
 
718
  # Event detection using BERT
719
  event_type, event_summary = event_detector.detect_event_type(
720
- translated_text,
721
  row['Объект']
722
  )
723
  df.at[idx, 'Event_Type'] = event_type
@@ -1164,7 +1164,7 @@ def main():
1164
  st.set_page_config(layout="wide")
1165
 
1166
  with st.sidebar:
1167
- st.title("::: AI-анализ мониторинга новостей (v.3.63):::")
1168
  st.subheader("по материалам СКАН-ИНТЕРФАКС")
1169
 
1170
  model_choice = st.radio(
 
717
 
718
  # Event detection using BERT
719
  event_type, event_summary = event_detector.detect_event_type(
720
+ row['Выдержки из текста'],
721
  row['Объект']
722
  )
723
  df.at[idx, 'Event_Type'] = event_type
 
1164
  st.set_page_config(layout="wide")
1165
 
1166
  with st.sidebar:
1167
+ st.title("::: AI-анализ мониторинга новостей (v.3.64):::")
1168
  st.subheader("по материалам СКАН-ИНТЕРФАКС")
1169
 
1170
  model_choice = st.radio(