scholarmind / scripts /seed_papers.py
yash-912's picture
Deploy ScholarMind backend
1b89648
raw
history blame contribute delete
389 Bytes
"""
Seed Papers — Fetch initial batch from arXiv and populate the database.
Can also be run as: python -m app.seed_papers (from backend dir)
Usage: python -m scripts.seed_papers
"""
import asyncio
import os
import sys
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from app.seed_papers import main
if __name__ == "__main__":
asyncio.run(main())