Glainez commited on
Commit
5fcbb9b
1 Parent(s): c075516

Update MinimalScanner.py

Browse files
Files changed (1) hide show
  1. MinimalScanner.py +2 -1
MinimalScanner.py CHANGED
@@ -2,7 +2,8 @@ import requests
2
  import gradio as gr
3
 
4
  def instant_predict(image):
 
5
  endpoint = 'http://192.168.1.204:5000/models/predict/instant'
6
  response = requests.get(endpoint)
7
  print(response.content)
8
- return response.content
 
2
  import gradio as gr
3
 
4
  def instant_predict(image):
5
+ print('predicting ...')
6
  endpoint = 'http://192.168.1.204:5000/models/predict/instant'
7
  response = requests.get(endpoint)
8
  print(response.content)
9
+ return str(response.content)