File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
client/python/gradio_client Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ def __init__(
156
156
)
157
157
api_prefix : str = self .config .get ("api_prefix" , "" )
158
158
self .api_prefix = api_prefix .lstrip ("/" ) + "/"
159
- self .src_prefixed = urllib .parse .urljoin (self .src , api_prefix ) + "/"
159
+ self .src_prefixed = urllib .parse .urljoin (self .src , api_prefix )
160
160
161
161
self .api_url = urllib .parse .urljoin (self .src_prefixed , utils .API_URL )
162
162
self .sse_url = urllib .parse .urljoin (
@@ -1081,6 +1081,7 @@ def __init__(
1081
1081
self .parameters_info = self ._get_parameters_info ()
1082
1082
1083
1083
self .root_url = self .client .src_prefixed
1084
+ print ("ROOT URL" , self .root_url )
1084
1085
1085
1086
# Disallow hitting endpoints that the Gradio app has disabled
1086
1087
self .is_valid = self .api_name is not False
You can’t perform that action at this time.
0 commit comments