xiaoyao9184 commited on
Commit
bce7209
·
verified ·
1 Parent(s): d52f760

Synced repo using 'sync_with_huggingface' Github Action

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -332,7 +332,7 @@ class ModelConverter:
332
  path_or_fileobj=readme_path,
333
  path_in_repo="README.md"
334
  )
335
- yield f"🪪 Model card [README.md]({hf_model_url}/README.md)"
336
 
337
  for execution_provider in (progress_provider := tqdm(EXECUTION_PROVIDERS, disable=False)):
338
  ep = ExecutionProvider(execution_provider)
@@ -570,7 +570,7 @@ with gr.Blocks() as demo:
570
  except StopIteration as e:
571
  output_model_url = f"{user_config.hf_base_url}/{output_model_id}"
572
  yield gr.update(interactive=True), \
573
- holder.add(f"📤 Upload successful✅! 📦 Go to [{output_model_id}]({output_model_url})").markdown()
574
  except Exception as e:
575
  logger.exception(e)
576
  yield gr.update(interactive=True), holder.add("📤 Upload failed🚫").markdown()
 
332
  path_or_fileobj=readme_path,
333
  path_in_repo="README.md"
334
  )
335
+ yield f"🪪 Model card [README.md]({hf_model_url}/blob/main/README.md)"
336
 
337
  for execution_provider in (progress_provider := tqdm(EXECUTION_PROVIDERS, disable=False)):
338
  ep = ExecutionProvider(execution_provider)
 
570
  except StopIteration as e:
571
  output_model_url = f"{user_config.hf_base_url}/{output_model_id}"
572
  yield gr.update(interactive=True), \
573
+ holder.add(f"📤 Upload successful✅! 📦 Go to [{output_model_id}]({output_model_url}/tree/main)").markdown()
574
  except Exception as e:
575
  logger.exception(e)
576
  yield gr.update(interactive=True), holder.add("📤 Upload failed🚫").markdown()