minimalistic_scanner / MinimalScanner.py
Glainez's picture
Update MinimalScanner.py
5fcbb9b verified
raw
history blame contribute delete
258 Bytes
import requests
import gradio as gr
def instant_predict(image):
print('predicting ...')
endpoint = 'http://192.168.1.204:5000/models/predict/instant'
response = requests.get(endpoint)
print(response.content)
return str(response.content)