pritamdeka commited on
Commit
c639b8c
Β·
1 Parent(s): 74b9519

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -231,9 +231,10 @@ def keyphrase_generator(article_link, model_1, model_2, max_num_keywords):
231
 
232
 
233
  df_new = pd.DataFrame(dict([ (k,pd.Series(v)) for k,v in mydict.items() ]))
 
234
 
235
 
236
- return df_new
237
 
238
 
239
  igen_pubmed = gr.Interface(keyphrase_generator,
 
231
 
232
 
233
  df_new = pd.DataFrame(dict([ (k,pd.Series(v)) for k,v in mydict.items() ]))
234
+ df_final = df_new.fillna(' ')
235
 
236
 
237
+ return df_final
238
 
239
 
240
  igen_pubmed = gr.Interface(keyphrase_generator,