mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-21 02:19:59 +08:00
Merge branch 'master' of https://github.com/gradio-app/gradio
This commit is contained in:
commit
9d995a1677
@ -117,9 +117,13 @@ def get_first_available_port(initial, final):
|
||||
)
|
||||
|
||||
def send_prediction_analytics(interface):
|
||||
data = {'input_interface': interface.input_interfaces,
|
||||
data = {'title': interface.title,
|
||||
'description': interface.description,
|
||||
'thumbnail': interface.thumbnail,
|
||||
'input_interface': interface.input_interfaces,
|
||||
'output_interface': interface.output_interfaces,
|
||||
}
|
||||
print(data)
|
||||
try:
|
||||
requests.post(
|
||||
analytics_url + 'gradio-prediction-analytics/',
|
||||
|
Loading…
Reference in New Issue
Block a user