ritwikgoel / SciSearch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SciSearch

Note: most of the data in the Database is real and was obtained through the Semantic Scholar API

However, some data wasn't available easily (particularly citations data), so the citations between

papers ARE MADE UP AND DO NOT CORRESPOND TO REALITY. Obviously, any data related to website

users is also made up!!

ChatGPT Prompts

  1. How to use a .env file with my flask app to protect sensitive passwords?
  2. How use before_request and teardown_request to create the database connection and to close it.
  3. Show me how to add a database connection to flask
  4. Where should I store my template file when using flask to render Jinja2 template?
  5. Give me an example of a css style sheet
  6. Can I add more than one CSS stylesheet to my html header?
  7. I'm using a jinja template and I want to render some text on a box, but if the text has more than 100 characters then I just want the 100 characters to render followed by a ... How do I do this in my Jinja template?
  8. how to make a flex container with two columns
  9. jinja2 url_for with attributes is adding an extra / before my last argument. Why?
  10. MY Route is like this: @app.route("/include//<collection_name>/<paper_id>") And my url_for statement is: {{url_for('include_paper', collection_name=colletion_name, email=email, paper_id=2)}}

About


Languages

Language:Jupyter Notebook 84.6%Language:HTML 14.9%Language:Python 0.5%Language:CSS 0.1%