Yusin commited on
Commit
869a5fc
1 Parent(s): 3e5ca9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def chat_hf(audio, custom_token, language):
39
  else:
40
  data = {"content": whisper_text}
41
  print(data)
42
- response = requests.post('http://192.168.43.32:7788/api/ask', headers=headers, json=data)
43
  print(response.text)
44
  chat_id['parent_id'] = response.json()["response_id"]
45
  chat_id['conversation_id'] = response.json()["conversation_id"]
 
39
  else:
40
  data = {"content": whisper_text}
41
  print(data)
42
+ response = requests.post('http://93.56.204.222:7788/api/ask', headers=headers, json=data)
43
  print(response.text)
44
  chat_id['parent_id'] = response.json()["response_id"]
45
  chat_id['conversation_id'] = response.json()["conversation_id"]