trlfpyfa/S
1
1{% extends "page.html" %}2 3 4{% block stylesheet %}5{% endblock %}6 7{% block site %}8 9<div id="jupyter-main-app" class="container">10 11 <img src="https://huggingface.co/front/assets/huggingface_logo-noborder.svg" alt="Hugging Face Logo">12 <h4>Welcome to JupyterLab</h4>13 14 <h5>The default token is <span style="color:orange;">huggingface</span></h5>15 16 {% if login_available %}17 {# login_available means password-login is allowed. Show the form. #}18 <div class="row">19 <div class="navbar col-sm-8">20 <div class="navbar-inner">21 <div class="container">22 <div class="center-nav">23 <form action="{{base_url}}login?next={{next}}" method="post" class="navbar-form pull-left">24 {{ xsrf_form_html() | safe }}25 {% if token_available %}26 <label for="password_input"><strong>{% trans %}Jupyter token <span title="This is the secret you set up when deploying your JupyterLab space">ⓘ</span> {% endtrans27 %}</strong></label>28 {% else %}29 <label for="password_input"><strong>{% trans %}Jupyter password:{% endtrans %}</strong></label>30 {% endif %}31 <input type="password" name="password" id="password_input" class="form-control">32 <button type="submit" class="btn btn-default" id="login_submit">{% trans %}Log in{% endtrans33 %}</button>34 </form>35 </div>36 </div>37 </div>38 </div>39 </div>40 {% else %}41 <p>{% trans %}No login available, you shouldn't be seeing this page.{% endtrans %}</p>42 {% endif %}43 44 <h5>If you don't have the credentials for this Jupyter space, <a target="_blank" href="https://huggingface.co/spaces/SpacesExamples/jupyterlab?duplicate=true">create your own.</a></h5>45 <br>46 47 <p>This template was created by <a href="https://twitter.com/camenduru" target="_blank" >camenduru</a> and <a href="https://huggingface.co/nateraw" target="_blank" >nateraw</a>, with contributions of <a href="https://huggingface.co/osanseviero" target="_blank" >osanseviero</a> and <a href="https://huggingface.co/azzr" target="_blank" >azzr</a> </p>48 {% if message %}49 <div class="row">50 {% for key in message %}51 <div class="message {{key}}">52 {{message[key]}}53 </div>54 {% endfor %}55 </div>56 {% endif %}57 {% if token_available %}58 {% block token_message %}59 60 {% endblock token_message %}61 {% endif %}62</div>63 64{% endblock %}65 66 67{% block script %}68{% endblock %}