This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width,initial-scale=1" /> | |
| <title>PyScript Hello World</title> | |
| <link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" /> | |
| <script defer src="https://pyscript.net/alpha/pyscript.js"></script> | |
| <py-env> | |
| - numpy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from ebooklib import epub | |
| import ebooklib | |
| import re | |
| import html | |
| import os | |
| #folder to epub files | |
| dir_to_epubs = '' | |
| #generate list of epub-files in specified directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| !pip install gpt-2-simple | |
| f = r'<your file location here>' # include a blank line between texts | |
| import gpt_2_simple as gpt2 | |
| import os | |
| import requests | |
| model_name = "124" # or 355 | |
| if not os.path.isdir(os.path.join("models", model_name)): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <style type="text/css"> | |
| @font-face { | |
| font-family: 'Open Sans'; | |
| font-style: normal; | |
| font-weight: 300; | |
| src: local('Open Sans Light'), local('OpenSans-Light'), url(http://fonts.gstatic.com/s/opensans/v13/DXI1ORHCpsQm3Vp6mXoaTa-j2U0lmluP9RWlSytm3ho.woff2) format('woff2'); | |
| unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; | |
| } | |
| .body { | |
| width: 90%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| aback | |
| abase | |
| abate | |
| abbey | |
| abbot | |
| abhor | |
| abide | |
| abled | |
| abode | |
| abort |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| aahed | |
| aalii | |
| aargh | |
| aarti | |
| abaca | |
| abaci | |
| abacs | |
| abaft | |
| abaka | |
| abamp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <header class="main-navigation"> | |
| <nav> | |
| <div> | |
| <a href="/work">~/work</a> | |
| <a href="/fun">~/fun</a> | |
| <a href="/code">~/code</a> | |
| </div> | |
| <div> | |
| <a href="/">/home/hayden</a> | |
| </div> |