osanseviero commited on
Commit
13ad748
·
1 Parent(s): e59c738

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -57,7 +57,7 @@ tags:
57
  "template": template,
58
  "template_format": "f-string"
59
  }
60
- json.dump(data, f)
61
 
62
  with open(os.path.join(tmpdir, "README.md"), "w") as f:
63
  f.write(card)
@@ -71,7 +71,7 @@ tags:
71
  token=token,
72
  repo_type="dataset"
73
  )
74
- return f'Success! Check out the <a href=\'{repo_url}\' target="_blank" style="text-decoration:underline">here</a>'
75
 
76
  with gr.Blocks() as form:
77
  gr.Markdown("# LangChain Hub Form")
 
57
  "template": template,
58
  "template_format": "f-string"
59
  }
60
+ json.dump(data, f, indent=4)
61
 
62
  with open(os.path.join(tmpdir, "README.md"), "w") as f:
63
  f.write(card)
 
71
  token=token,
72
  repo_type="dataset"
73
  )
74
+ return f'Success! Check out the result <a href=\'{repo_url}\' target="_blank" style="text-decoration:underline">here</a>'
75
 
76
  with gr.Blocks() as form:
77
  gr.Markdown("# LangChain Hub Form")