File size: 2,791 Bytes
89e5b6e
 
 
 
 
 
 
 
 
 
 
b2dda0c
 
 
89e5b6e
 
 
 
 
 
 
 
 
 
 
b2dda0c
89e5b6e
 
b2dda0c
89e5b6e
 
 
 
 
 
 
 
 
 
 
 
 
b2dda0c
 
 
 
a054886
89e5b6e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{% extends "page.html" %}


{% block stylesheet %}
{% endblock %}

{% block site %}

<div id="jupyter-main-app" class="container">
    
    <img src="https://huggingface.co./front/assets/huggingface_logo-noborder.svg" alt="Hugging Face Logo">
    <h4>Welcome to JupyterLab</h4>
    
    <h5>The default token is <span style="color:orange;">huggingface</span></h5>
  
    {% if login_available %}
    {# login_available means password-login is allowed. Show the form. #}
    <div class="row">
        <div class="navbar col-sm-8">
            <div class="navbar-inner">
                <div class="container">
                    <div class="center-nav">
                        <form action="{{base_url}}login?next={{next}}" method="post" class="navbar-form pull-left">
                            {{ xsrf_form_html() | safe }}
                            {% if token_available %}
                            <label for="password_input"><strong>{% trans %}Jupyter token <span title="This is the secret you set up when deploying your JupyterLab space"></span> {% endtrans
                                    %}</strong></label>
                            {% else %}
                            <label for="password_input"><strong>{% trans %}Jupyter password:{% endtrans %}</strong></label>
                            {% endif %}
                            <input type="password" name="password" id="password_input" class="form-control">
                            <button type="submit" class="btn btn-default" id="login_submit">{% trans %}Log in{% endtrans
                                %}</button>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    {% else %}
    <p>{% trans %}No login available, you shouldn't be seeing this page.{% endtrans %}</p>
    {% endif %}

      <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>
    <br>
  
    <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>
    {% if message %}
    <div class="row">
        {% for key in message %}
        <div class="message {{key}}">
            {{message[key]}}
        </div>
        {% endfor %}
    </div>
    {% endif %}
    {% if token_available %}
    {% block token_message %}
    
    {% endblock token_message %}
    {% endif %}
</div>

{% endblock %}


{% block script %}
{% endblock %}