PaperScope / index.html
vansin's picture
Upload index.html with huggingface_hub
8de9bcc verified
raw
history blame contribute delete
507 Bytes
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>PaperScope AI</title>
<style>body,html{margin:0;height:100%}iframe{width:100%;height:100%;border:0}</style>
</head>
<body>
<iframe id="f"></iframe>
<script>
const q = new URLSearchParams(location.search);
const u = q.get('huggingface_space') || '';
q.delete('huggingface_space');
const p = q.toString();
document.getElementById('f').src = 'https://www.paperscope.ai/' + (p ? '?' + p : '');
</script>
</body>
</html>