PowerPointAI / app.py
sarim's picture
update
a5b0974
raw
history blame
514 Bytes
import streamlit as st
import requests
def scrapWeb():
headers = {'User-Agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 11_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E304 Safari/602.1'}
r = requests.get("https://sci-hub.se/https://www.nature.com/articles/s41551-021-00760-7",headers=headers).raise_for_status()
print(r)
scrapWeb()
x = st.slider('Select a value')
url_1 = st.text_input(label="Enter research paper url",key="url_1")
st.write(x, 'squared is', x * x)