DaniilAlpha commited on
Commit
7cab91c
·
1 Parent(s): a2e05fb

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -35,7 +35,7 @@ HTML = """
35
  const prompt = document.getElementById("prompt");
36
  const output = document.getElementById("output");
37
 
38
- const ws = new WebSocket("ws://127.0.0.1:2403/answer");
39
  ws.onmessage = (e) => answer(e.data);
40
 
41
  function ask(event) {
 
35
  const prompt = document.getElementById("prompt");
36
  const output = document.getElementById("output");
37
 
38
+ const ws = new WebSocket("wss://daniilalpha-answerer-api.hf.space/answer");
39
  ws.onmessage = (e) => answer(e.data);
40
 
41
  function ask(event) {