Spaces:
Runtime error
Runtime error
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>HuggingFace API Demo</title> | |
<link rel="stylesheet" href="styles/main.css"> | |
</head> | |
<body> | |
<div id="app"> | |
<h1>HuggingFace API Demo</h1> | |
<div class="auth-container"> | |
<div id="token-form" class="token-form"> | |
<input type="password" id="token-input" placeholder="Enter your HuggingFace API token" | |
class="repo-input"> | |
<button id="token-submit" class="auth-button">Submit Token</button> | |
</div> | |
<button id="signout" style="display: none;" class="auth-button">Sign out</button> | |
</div> | |
<div id="repo-form" style="display: none;" class="repo-form"> | |
<select id="org-select" class="repo-input"> | |
<option value="">Own account</option> | |
</select> | |
<input type="text" id="repo-name" placeholder="Enter repository name" class="repo-input"> | |
<div id="resource-group-container" style="display: none; width: max-content;"> | |
<input type="text" id="resource-group-name" placeholder="Enter resource group name" class="repo-input"> | |
</div> | |
<button id="create-repo" class="repo-button">Create Repository</button> | |
</div> | |
</div> | |
<script type="module" src="dist/main.js"></script> | |
</body> | |
</html> |