AzizHamad commited on
Commit
25cf149
·
1 Parent(s): 7eba1aa

Customize static Space page (SQL BLEU)

Browse files
Files changed (1) hide show
  1. index.html +17 -16
index.html CHANGED
@@ -1,19 +1,20 @@
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>
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <title>text2sql-sql-bleu</title>
7
+ <style>
8
+ body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial; max-width:900px; margin:40px auto; padding:0 16px; line-height:1.5;}
9
+ pre{background:#f6f8fa; padding:16px; border-radius:10px; overflow:auto;}
10
+ code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;}
11
+ </style>
12
+ </head>
13
+ <body>
14
+ <h2>Hugging Face Evaluate metric wrapper for SQL BLEU (SQL).</h2>
15
+ <p><b>Usage:</b></p>
16
+ <pre><code>import evaluate
17
+ m = evaluate.load("3zizo3/text2sql-sql-bleu")
18
+ print(m.compute(predictions=["select 1"], references=["select 1"]))</code></pre>
19
+ </body>
20
  </html>