Yusin commited on
Commit
28a52e0
1 Parent(s): 758230b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -54,8 +54,8 @@ def chat_hf(audio, custom_token, language):
54
  else:
55
  data = {"content": whisper_text}
56
  print(data)
57
- #res = requests.get('http://myip.ipip.net', timeout=5).text
58
- #print(res)
59
  response = requests.post('http://93.56.204.222:7788/api/ask', headers=headers, json=data, verify=False, timeout=5)
60
  print('this is my answear', response.text)
61
  chat_id['parent_id'] = response.json()["response_id"]
 
54
  else:
55
  data = {"content": whisper_text}
56
  print(data)
57
+ res = requests.get('http://myip.ipip.net', timeout=5).text
58
+ print(res)
59
  response = requests.post('http://93.56.204.222:7788/api/ask', headers=headers, json=data, verify=False, timeout=5)
60
  print('this is my answear', response.text)
61
  chat_id['parent_id'] = response.json()["response_id"]