Spaces:
Paused
Paused
Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
|
| 5 |
<script type="module">
|
| 6 |
import { Client } from "https://cdn.jsdelivr.net/npm/@gradio/client/dist/index.min.js";
|
| 7 |
-
const client = await Client.connect(
|
| 8 |
|
| 9 |
document.getElementById("go").onclick = async () => {
|
| 10 |
const text = document.getElementById("input").value;
|
|
|
|
| 4 |
|
| 5 |
<script type="module">
|
| 6 |
import { Client } from "https://cdn.jsdelivr.net/npm/@gradio/client/dist/index.min.js";
|
| 7 |
+
const client = await Client.connect(window.location.origin);
|
| 8 |
|
| 9 |
document.getElementById("go").onclick = async () => {
|
| 10 |
const text = document.getElementById("input").value;
|