Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,8 @@ def string_to_binary(input_string):
|
|
11 |
def upload_protocol(protocol_name):
|
12 |
# robot_ip = "localhost"
|
13 |
robot_url = "https://baxin-ot-analysis.hf.space"
|
14 |
-
endpoint = f"http://{robot_url}:31950/protocols"
|
|
|
15 |
# protocol_name = generate_unique_name()
|
16 |
|
17 |
protocol_file = open(protocol_name, "rb")
|
|
|
11 |
def upload_protocol(protocol_name):
|
12 |
# robot_ip = "localhost"
|
13 |
robot_url = "https://baxin-ot-analysis.hf.space"
|
14 |
+
# endpoint = f"http://{robot_url}:31950/protocols"
|
15 |
+
endpoint = f"http://{robot_url}/protocols"
|
16 |
# protocol_name = generate_unique_name()
|
17 |
|
18 |
protocol_file = open(protocol_name, "rb")
|