smartinezbragado commited on
Commit
b541824
1 Parent(s): 62cdbdb

Update views.py

Browse files
Files changed (1) hide show
  1. views.py +1 -1
views.py CHANGED
@@ -47,7 +47,7 @@ def home():
47
  topics_df.to_csv('topics.csv', index=False)
48
  send_file('topics.csv', as_attachment=True)
49
  # Download docs info
50
- # docs_df = topic_model.get_document_info(subreddits_df.Text)
51
  docs_df.to_csv('docs_with_topics_info.csv', index=False)
52
  send_file('docs_with_topics_info.csv', as_attachment=True)
53
  return redirect(url_for('views.success'))
 
47
  topics_df.to_csv('topics.csv', index=False)
48
  send_file('topics.csv', as_attachment=True)
49
  # Download docs info
50
+ docs_df = topic_model.get_document_info(subreddits_df.Text)
51
  docs_df.to_csv('docs_with_topics_info.csv', index=False)
52
  send_file('docs_with_topics_info.csv', as_attachment=True)
53
  return redirect(url_for('views.success'))