Spaces:
Paused
Paused
Commit
·
bd21e60
1
Parent(s):
6179b03
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("
|
34 |
ws.onmessage = function (event) {
|
35 |
output.innerText = event.data;
|
36 |
}
|
|
|
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:8000/answer");
|
34 |
ws.onmessage = function (event) {
|
35 |
output.innerText = event.data;
|
36 |
}
|