davanstrien HF Staff commited on
Commit
6c04839
·
1 Parent(s): a9d43cf

Add return statement to get_papers function

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -109,6 +109,7 @@ def get_papers(
109
  arxiv_id = paper["externalIds"]["ArXiv"]
110
  url = f"https://huggingface.co/papers/{arxiv_id}"
111
  results += f"- [{paper_title}]({url})\n"
 
112
 
113
 
114
  with gr.Blocks() as demo:
 
109
  arxiv_id = paper["externalIds"]["ArXiv"]
110
  url = f"https://huggingface.co/papers/{arxiv_id}"
111
  results += f"- [{paper_title}]({url})\n"
112
+ return results
113
 
114
 
115
  with gr.Blocks() as demo: