Spaces:
Running
Running
Update index.html
Browse files- index.html +1 -8
index.html
CHANGED
@@ -6,13 +6,6 @@
|
|
6 |
<title>T5-base Language Translator</title>
|
7 |
<link rel="stylesheet" href="style.css" />
|
8 |
</head>
|
9 |
-
<script type="importmap">
|
10 |
-
{
|
11 |
-
"imports": {
|
12 |
-
"@huggingface/inference":"https://cdn.jsdelivr.net/npm/@huggingface/[email protected]/+esm"
|
13 |
-
}
|
14 |
-
}
|
15 |
-
</script>
|
16 |
|
17 |
<body>
|
18 |
<div class="card">
|
@@ -24,7 +17,7 @@
|
|
24 |
</p>
|
25 |
</div>
|
26 |
<script type="module">
|
27 |
-
|
28 |
import { promises as fsPromises } from 'fs';
|
29 |
//import dotenv from "dotenv";
|
30 |
//dotenv.config();
|
|
|
6 |
<title>T5-base Language Translator</title>
|
7 |
<link rel="stylesheet" href="style.css" />
|
8 |
</head>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
<body>
|
11 |
<div class="card">
|
|
|
17 |
</p>
|
18 |
</div>
|
19 |
<script type="module">
|
20 |
+
import { HfInference } from 'https://cdn.jsdelivr.net/npm/@huggingface/inference@2.6.4/+esm';
|
21 |
import { promises as fsPromises } from 'fs';
|
22 |
//import dotenv from "dotenv";
|
23 |
//dotenv.config();
|