Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -139,7 +139,7 @@ def submit(
|
|
139 |
elif response.status_code == 409:
|
140 |
return f"Endpoint {endpoint_name_input} already exists"
|
141 |
elif response.status_code == 202:
|
142 |
-
return f"Endpoint {endpoint_name_input} created successfully on {provider_selector.lower()} using {repository_selector.lower()}@
|
143 |
else:
|
144 |
return f"something went wrong {response.status_code} = {response.text}"
|
145 |
|
@@ -216,7 +216,7 @@ with gr.Blocks() as hf_endpoint:
|
|
216 |
)
|
217 |
|
218 |
revision_selector = gr.Textbox(
|
219 |
-
value=f"
|
220 |
interactive=False,
|
221 |
show_label=False,
|
222 |
)
|
|
|
139 |
elif response.status_code == 409:
|
140 |
return f"Endpoint {endpoint_name_input} already exists"
|
141 |
elif response.status_code == 202:
|
142 |
+
return f"Endpoint {endpoint_name_input} created successfully on {provider_selector.lower()} using {repository_selector.lower()}@main.\nPlease check out the progress at https://ui.endpoints.huggingface.co/endpoints."
|
143 |
else:
|
144 |
return f"something went wrong {response.status_code} = {response.text}"
|
145 |
|
|
|
216 |
)
|
217 |
|
218 |
revision_selector = gr.Textbox(
|
219 |
+
value=f"main",
|
220 |
interactive=False,
|
221 |
show_label=False,
|
222 |
)
|