Spaces:
Runtime error
Runtime error
gamingflexer
commited on
Commit
·
289f685
1
Parent(s):
59abadc
Add ArxivPaper class and related functions for scraping and saving paper details
Browse files- src/app.py +8 -0
src/app.py
CHANGED
@@ -1,6 +1,14 @@
|
|
1 |
import gradio as gr
|
2 |
import pandas as pd
|
3 |
import logging
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
5 |
def plagiarism_checker(authors_name):
|
6 |
print(authors_name)
|
|
|
1 |
import gradio as gr
|
2 |
import pandas as pd
|
3 |
import logging
|
4 |
+
from scrapper.main import ArxivPaper
|
5 |
+
|
6 |
+
"""
|
7 |
+
author_obj = ArxivPaper("Andrew Ng")
|
8 |
+
paper_links = author_obj.get_results_google(number_of_results=25)
|
9 |
+
paper_ids = author_obj.get_paper_id(paper_links)
|
10 |
+
author_obj.get_paper_details_batch(paper_ids=paper_ids, path="./data/papers")
|
11 |
+
"""
|
12 |
|
13 |
def plagiarism_checker(authors_name):
|
14 |
print(authors_name)
|