ysharma HF Staff commited on
Commit
b8511f6
·
verified ·
1 Parent(s): 4ec8323

Update index.html

Browse files
Files changed (1) hide show
  1. 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("yourname-summarizer.hf.space");
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;