Spaces:
Paused
Paused
Commit
·
2615288
1
Parent(s):
2a5e5fa
Update main.py
Browse files
main.py
CHANGED
@@ -29,7 +29,7 @@ HTML = """
|
|
29 |
const prompt = document.getElementById("prompt");
|
30 |
const output = document.getElementById("output");
|
31 |
|
32 |
-
const ws = new WebSocket("
|
33 |
ws.onmessage = function (event) => output.innerText = event.data;
|
34 |
|
35 |
function ask(event) {
|
|
|
29 |
const prompt = document.getElementById("prompt");
|
30 |
const output = document.getElementById("output");
|
31 |
|
32 |
+
const ws = new WebSocket("wss://huggingface.co/spaces/DaniilAlpha/answerer-api/answer");
|
33 |
ws.onmessage = function (event) => output.innerText = event.data;
|
34 |
|
35 |
function ask(event) {
|