Spaces:
Sleeping
Sleeping
Commit ·
d7668bd
1
Parent(s): 55dd648
progress more 22
Browse files
app.py
CHANGED
|
@@ -141,7 +141,7 @@ def process_file(uploaded_file):
|
|
| 141 |
df['FinBERT'] = finbert_results
|
| 142 |
df['RoBERTa'] = roberta_results
|
| 143 |
df['FinBERT-Tone'] = finbert_tone_results
|
| 144 |
-
df['Translated']
|
| 145 |
|
| 146 |
# Reorder columns
|
| 147 |
columns_order = ['Объект', 'ruBERT', 'FinBERT', 'RoBERTa', 'FinBERT-Tone', 'Выдержки из текста', 'Translated' ]
|
|
@@ -150,7 +150,7 @@ def process_file(uploaded_file):
|
|
| 150 |
return df
|
| 151 |
|
| 152 |
def main():
|
| 153 |
-
st.title("... приступим к анализу... версия
|
| 154 |
|
| 155 |
uploaded_file = st.file_uploader("Выбирайте Excel-файл", type="xlsx")
|
| 156 |
|
|
|
|
| 141 |
df['FinBERT'] = finbert_results
|
| 142 |
df['RoBERTa'] = roberta_results
|
| 143 |
df['FinBERT-Tone'] = finbert_tone_results
|
| 144 |
+
df['Translated'] = translated_texts
|
| 145 |
|
| 146 |
# Reorder columns
|
| 147 |
columns_order = ['Объект', 'ruBERT', 'FinBERT', 'RoBERTa', 'FinBERT-Tone', 'Выдержки из текста', 'Translated' ]
|
|
|
|
| 150 |
return df
|
| 151 |
|
| 152 |
def main():
|
| 153 |
+
st.title("... приступим к анализу... версия 22")
|
| 154 |
|
| 155 |
uploaded_file = st.file_uploader("Выбирайте Excel-файл", type="xlsx")
|
| 156 |
|