mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-06 10:25:17 +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):
|
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,
|
'output_interface': interface.output_interfaces,
|
||||||
}
|
}
|
||||||
|
print(data)
|
||||||
try:
|
try:
|
||||||
requests.post(
|
requests.post(
|
||||||
analytics_url + 'gradio-prediction-analytics/',
|
analytics_url + 'gradio-prediction-analytics/',
|
||||||
|
Loading…
Reference in New Issue
Block a user