clarkchan commited on
Commit
4051f43
·
1 Parent(s): d6c8def

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ def chat(input):
7
  data = { "message": input }
8
  headers = {"Content-Type": "Application/json","Authorization":"Bearer kdfjwoieskdflasdnf"}
9
  response = requests.post(url, json=data, headers=headers)
10
- print(response)
11
  return response.text
12
  iface = gr.Interface(fn=chat, inputs="text", outputs="text")
13
  iface.launch(server_name="0.0.0.0")
 
7
  data = { "message": input }
8
  headers = {"Content-Type": "Application/json","Authorization":"Bearer kdfjwoieskdflasdnf"}
9
  response = requests.post(url, json=data, headers=headers)
10
+ print(response.text)
11
  return response.text
12
  iface = gr.Interface(fn=chat, inputs="text", outputs="text")
13
  iface.launch(server_name="0.0.0.0")