derek-thomas HF staff commited on
Commit
4e0c04a
1 Parent(s): 8bccfc1

Fixing startup message

Browse files
jupyterlab/00-startup.py DELETED
@@ -1,19 +0,0 @@
1
- from IPython.display import display, Javascript
2
-
3
- def show_popup():
4
- display(Javascript("""
5
- require(
6
- ['base/js/dialog'],
7
- function(dialog) {
8
- dialog.modal({
9
- title: 'Welcome',
10
- body: 'Popup place-holder',
11
- buttons: {
12
- 'Ok': {}
13
- }
14
- });
15
- }
16
- );
17
- """))
18
-
19
- show_popup()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
jupyterlab/login.html CHANGED
@@ -16,7 +16,7 @@
16
  <br>
17
  <br>
18
  <h4>The default token is <span style="color:orange;">huggingface</span></h4>
19
- <h4>Duplicate the Space to run your own instance</h4>
20
 
21
  {% if login_available %}
22
  {# login_available means password-login is allowed. Show the form. #}
 
16
  <br>
17
  <br>
18
  <h4>The default token is <span style="color:orange;">huggingface</span></h4>
19
+ <h4>Duplicate the Space to run your own instance, make sure to carefully choose your GPU of choice to benchmark</h4>
20
 
21
  {% if login_available %}
22
  {# login_available means password-login is allowed. Show the form. #}
jupyterlab/on_startup.sh CHANGED
@@ -21,7 +21,4 @@ rm -rf /tmp/tgi-benchmark-notebooks
21
  mkdir -p ~/.jupyter/lab/user-settings/@jupyterlab/apputils-extension/ && \
22
  echo '{ "theme":"JupyterLab Dark" }' > themes.jupyterlab-settings
23
 
24
- # Move Startup script
25
- mv ~/app/00-startup.py ~/.ipython/profile_default/startup/
26
-
27
  echo "All right on the HF site"
 
21
  mkdir -p ~/.jupyter/lab/user-settings/@jupyterlab/apputils-extension/ && \
22
  echo '{ "theme":"JupyterLab Dark" }' > themes.jupyterlab-settings
23
 
 
 
 
24
  echo "All right on the HF site"