Spaces:
Running
Running
Commit ·
f9b5b0e
1
Parent(s): f3961c1
progress more (3.9)
Browse files
app.py
CHANGED
|
@@ -224,9 +224,9 @@ def generate_sentiment_visualization(df):
|
|
| 224 |
return fig
|
| 225 |
|
| 226 |
def process_file(uploaded_file):
|
| 227 |
-
output_capture = StreamlitCapture()
|
| 228 |
old_stdout = sys.stdout
|
| 229 |
-
sys.stdout = output_capture
|
| 230 |
|
| 231 |
try:
|
| 232 |
df = pd.read_excel(uploaded_file, sheet_name='Публикации')
|
|
@@ -434,7 +434,7 @@ def main():
|
|
| 434 |
unsafe_allow_html=True
|
| 435 |
)
|
| 436 |
|
| 437 |
-
st.title("::: анализ мониторинга новостей СКАН-ИНТЕРФАКС (v.3.
|
| 438 |
|
| 439 |
if 'processed_df' not in st.session_state:
|
| 440 |
st.session_state.processed_df = None
|
|
|
|
| 224 |
return fig
|
| 225 |
|
| 226 |
def process_file(uploaded_file):
|
| 227 |
+
#output_capture = StreamlitCapture()
|
| 228 |
old_stdout = sys.stdout
|
| 229 |
+
#sys.stdout = output_capture
|
| 230 |
|
| 231 |
try:
|
| 232 |
df = pd.read_excel(uploaded_file, sheet_name='Публикации')
|
|
|
|
| 434 |
unsafe_allow_html=True
|
| 435 |
)
|
| 436 |
|
| 437 |
+
st.title("::: анализ мониторинга новостей СКАН-ИНТЕРФАКС (v.3.9):::")
|
| 438 |
|
| 439 |
if 'processed_df' not in st.session_state:
|
| 440 |
st.session_state.processed_df = None
|