pavel321 commited on
Commit
9b4d740
·
verified ·
1 Parent(s): dc9b471

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +79 -19
index.html CHANGED
@@ -1,19 +1,79 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Hugging Face CLI Autocompletion</title>
7
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
8
+ <style>
9
+ body {
10
+ font-family: Arial, sans-serif;
11
+ margin: 0;
12
+ padding: 20px;
13
+ background-color: #f4f4f4;
14
+ }
15
+ header {
16
+ background: #4B0082;
17
+ color: white;
18
+ padding: 10px 20px;
19
+ text-align: center;
20
+ }
21
+ h1 {
22
+ margin: 0;
23
+ }
24
+ section {
25
+ margin: 20px 0;
26
+ padding: 20px;
27
+ background: white;
28
+ border-radius: 8px;
29
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
30
+ }
31
+ code {
32
+ background-color: #e8e8e8;
33
+ padding: 2px 4px;
34
+ border-radius: 4px;
35
+ }
36
+ pre {
37
+ background-color: #e8e8e8;
38
+ padding: 10px;
39
+ border-radius: 4px;
40
+ overflow-x: auto;
41
+ }
42
+ footer {
43
+ text-align: center;
44
+ margin-top: 20px;
45
+ font-size: small;
46
+ }
47
+ </style>
48
+ </head>
49
+ <body>
50
+
51
+ <header>
52
+ <h1>Hugging Face CLI Autocompletion</h1>
53
+ <p>Enhance your command line experience with autocompletion for huggingface-cli!</p>
54
+ </header>
55
+
56
+ <section>
57
+ <h2>Installation</h2>
58
+ <p>To install the autocompletion script, run the following command:</p>
59
+ <pre><code>curl -sSL https://huggingface.co/spaces/pavel321/huggingface-cli-completion/resolve/main/huggingface-cli-completion.sh >> ~/.bashrc && source ~/.bashrc</code></pre>
60
+ </section>
61
+
62
+ <section>
63
+ <h2>Usage</h2>
64
+ <p>After installation, you can use the autocompletion feature as follows:</p>
65
+ <pre><code>$ huggingface-cli download google/<TAB></code></pre>
66
+ <p>This will suggest available models:</p>
67
+ <pre><code>google/codegemma-7b google/flan-t5-xl
68
+ google/gemma-2-9b-it google/paligemma-3b-pt-224
69
+ google/gemma-2b google/pegasus-cnn_dailymail
70
+ google/gemma-2b-it google/siglip-so400m-patch14-384
71
+ google/gemma-7b google/timesfm-1.0-200m</code></pre>
72
+ </section>
73
+
74
+ <footer>
75
+ <p>&copy; 2024 Hugging Face Community | <a href="https://huggingface.co">Visit Hugging Face</a></p>
76
+ </footer>
77
+
78
+ </body>
79
+ </html>