mtb2023 commited on
Commit
db56968
·
1 Parent(s): cd60be7

change code

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -42,7 +42,6 @@ def predict(message, history):
42
  raise Exception(f'Request failed with status {response.status_code}, {response.text}')
43
  print(response.json())
44
  yield response.json().predictions[0].result
45
- #.response.text.predictions[0].result
46
 
47
 
48
  gr.ChatInterface(predict).launch()
 
42
  raise Exception(f'Request failed with status {response.status_code}, {response.text}')
43
  print(response.json())
44
  yield response.json().predictions[0].result
 
45
 
46
 
47
  gr.ChatInterface(predict).launch()