DaniilAlpha commited on
Commit
2615288
·
1 Parent(s): 2a5e5fa

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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("ws://huggingface.co/spaces/DaniilAlpha/answerer-api:8000/answer");
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) {