Spaces:
Runtime error
Runtime error
File size: 2,070 Bytes
f418104 d7d22f5 76b26cd d7d22f5 f418104 404baf7 f418104 c9a11d0 404baf7 f418104 364e42c f418104 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>My Flask Space</title>
<link rel="stylesheet" href="../static/css/main.css" />
</head>
<body>
<div class="card">
<h1>Welcome to your static Space!</h1>
<p>
You can modify this app directly by editing <i>index.html</i> in the
Files and versions tab.
</p>
<p>
Also don't forget to check the
<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
</p>
</div>
<h1>Test Page</h1>
<button id="btn1" class="test_button">Click Me</button>
<div id="btn1_text" class="test_button_text_empty"></div>
<br>
<button id="btn2" class="test_button">Click Me Too!</button>
<div id="btn2_text" class="test_button_text_empty"></div>
<h1>mypkg</h1>
<div id="pkg_version">
<p style="display:inline-block">Version</p>: {{ mypkg_version }}
</div>
Feel free to install this package using:
<br>
<code class="language-bash">
pip install -e git+https://huggingface.co/spaces/cm107/test_flask_space.git#egg=mypkg
</code>
<h1>Navigation</h1>
<ul>
<li>
<a href="about">About</a>
</li>
<li>
User Examples:
<ul>
<li>
<a href="/user/Bob">Bob</a>
</li>
<li>
<a href="/user/Jerry">Jerry</a>
</li>
<li>
<a href="/user/Tom">Tom</a>
</li>
</ul>
</li>
<li>
Evaluate Examples:
<ul>
<li>
<a href="/evaluate/1+1">1+1</a>
</li>
<li>
<a href="/evaluate/(3**2 + 4**2)**0.5">(3**2 + 4**2)**0.5</a>
</li>
<li>
<a href="/evaluate/sum([1,2,3,4,5,6,7,8,9])">sum([1,2,3,4,5,6,7,8,9])</a>
</li>
</ul>
</li>
<li>
<a href="/show/shapes">Draw some shapes using python's cv2 and display in html page.</a>
</li>
<li>
<a href="/debug/scrolling">Debug the page scrollbar.</a>
</li>
</ul>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.2/iframeResizer.contentWindow.min.js"></script>
<script type="text/javascript" src="../static/js/test_page.js"></script>
</body>
</html> |