be3c7cd c075516 5fcbb9b c075516 5fcbb9b
1
2
3
4
5
6
7
8
9
10
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)