From 12d3539e1b9820b0de4037318b9491a4e9247805 Mon Sep 17 00:00:00 2001 From: dawoodkhan82 Date: Thu, 9 Jul 2020 14:41:28 -0400 Subject: [PATCH] analytics endpoint fix --- gradio/interface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gradio/interface.py b/gradio/interface.py index 2bf81d1b2b..11319216bb 100644 --- a/gradio/interface.py +++ b/gradio/interface.py @@ -105,6 +105,7 @@ class Interface: 'ip_address': ip_address } try: + print("try initiated") requests.post(analytics_url + 'gradio-initiated-analytics/', data=data) except requests.ConnectionError: @@ -397,7 +398,7 @@ class Interface: 'ip_address': ip_address } try: - requests.post(analytics_url + 'gradio-hosted-launched-analytics/', + requests.post(analytics_url + 'gradio-launched-analytics/', data=data) except requests.ConnectionError: print("Connection Error")