chansung commited on
Commit
9b04bb7
·
1 Parent(s): 592b92e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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()}@{head_sha}.\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,7 +216,7 @@ with gr.Blocks() as hf_endpoint:
216
  )
217
 
218
  revision_selector = gr.Textbox(
219
- value=f"v1673447112/{head_sha[:7]}",
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
  )