tracinginsights commited on
Commit
b3e958c
1 Parent(s): e208945

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -80,7 +80,7 @@ def get_text(new_articles_df):
80
 
81
  dfs_dict = {}
82
 
83
- for article in tqdm(new_articles_df.iterrows()):
84
 
85
  link = article[1]["guid"]
86
  request = requests.get(link)
@@ -151,7 +151,7 @@ def get_speaker_quotes(dfs_dict, question_answerer):
151
  speaker_quote = []
152
 
153
 
154
- for link in tqdm(dfs_dict):
155
  context = dfs_dict[link]['context']
156
  quotes = dfs_dict[link]['quotes']
157
  potential_speakers = dfs_dict[link]['speakers']
 
80
 
81
  dfs_dict = {}
82
 
83
+ for article in new_articles_df.iterrows():
84
 
85
  link = article[1]["guid"]
86
  request = requests.get(link)
 
151
  speaker_quote = []
152
 
153
 
154
+ for link in dfs_dict:
155
  context = dfs_dict[link]['context']
156
  quotes = dfs_dict[link]['quotes']
157
  potential_speakers = dfs_dict[link]['speakers']