Spaces:
Runtime error
Runtime error
pritamdeka
commited on
Commit
Β·
c639b8c
1
Parent(s):
74b9519
Update app.py
Browse files
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
|
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,
|