Spaces:
Paused
Paused
Commit
·
5b7a382
1
Parent(s):
a05f54e
Update main.py
Browse files
main.py
CHANGED
|
@@ -30,7 +30,7 @@ HTML = """
|
|
| 30 |
const prompt = document.getElementById("prompt");
|
| 31 |
const output = document.getElementById("output");
|
| 32 |
|
| 33 |
-
const ws = new WebSocket("wss://huggingface.co/spaces/DaniilAlpha/answerer-api
|
| 34 |
ws.onopen = () => console.log("socket open!");
|
| 35 |
ws.onclose = () => console.log("socket closed!");
|
| 36 |
ws.onerror = (e) => console.error(`error: ${e}`);
|
|
|
|
| 30 |
const prompt = document.getElementById("prompt");
|
| 31 |
const output = document.getElementById("output");
|
| 32 |
|
| 33 |
+
const ws = new WebSocket("wss://huggingface.co/spaces/DaniilAlpha/answerer-api/answer");
|
| 34 |
ws.onopen = () => console.log("socket open!");
|
| 35 |
ws.onclose = () => console.log("socket closed!");
|
| 36 |
ws.onerror = (e) => console.error(`error: ${e}`);
|