qubvel-hf HF staff commited on
Commit
d9f1818
1 Parent(s): 329d593

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -302,7 +302,7 @@ def update_code_and_docs(select):
302
  def update_code_and_docs_on_start(url_params: gr.Request):
303
  params = get_params(url_params)
304
  if params.transform_name is not None and params.transform_name not in transforms_map:
305
- gt.Warning(f"Sorry, `{params.transform_name}` transform is not supported at the moment :(")
306
  transform_name = DEFAULT_TRANSFORM
307
  elif params.transform_name in transforms_map:
308
  transform_name = params.transform_name
 
302
  def update_code_and_docs_on_start(url_params: gr.Request):
303
  params = get_params(url_params)
304
  if params.transform_name is not None and params.transform_name not in transforms_map:
305
+ gr.Warning(f"Sorry, `{params.transform_name}` transform is not supported at the moment :(")
306
  transform_name = DEFAULT_TRANSFORM
307
  elif params.transform_name in transforms_map:
308
  transform_name = params.transform_name