Spaces:
Runtime error
Runtime error
Commit ·
ebb1c1c
1
Parent(s): 7a826c8
styles
Browse files3 unmodified lines4567897 unmodified lines17181920212223242526273 unmodified lines<meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>File Upload with Progress</title></head><body><h2>Upload Files to Hugging Face Repository</h2>7 unmodified lines<label for="files">Select Files:</label><input type="file" id="files" name="files" multiple required><button type="submit">Upload</button></form><div id="progress"><h3>Upload Progress:</h3><pre id="clientProgressText">Client to Server: No upload in progress...</pre><pre id="serverProgressText">Server to Storage: No upload in progress...</pre></div>3 unmodified lines4567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091107 unmodified lines1181191201211221231241251261271283 unmodified lines<meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>File Upload with Progress</title><style>/* General dark theme */* {box-sizing: border-box;font-family: Arial, sans-serif;margin: 0;padding: 0;}body {background-color: #121212;color: #e0e0e0;display: flex;flex-direction: column;align-items: center;padding: 40px;min-height: 100vh;}h2 {font-size: 1.8rem;color: #ffffff;margin-bottom: 20px;}form {background: #1e1e1e;padding: 20px;border-radius: 8px;box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);width: 100%;max-width: 400px;}label {color: #bdbdbd;font-weight: bold;display: block;margin-top: 15px;}input[type="password"],input[type="text"],input[type="file"] {background: #333;color: #e0e0e0;border: none;border-radius: 4px;padding: 10px;width: 100%;margin-top: 5px;outline: none;transition: border 0.3s ease;}input[type="password"]:focus,input[type="text"]:focus,input[type="file"]:focus {border: 1px solid #4f8cff;}button {background-color: #4f8cff;color: #fff;padding: 10px 20px;border: none;border-radius: 4px;cursor: pointer;margin-top: 20px;width: 100%;transition: background 0.3s;font-weight: bold;}button:hover {background-color: #3571db;}/* Progress Section */#progress {margin-top: 20px;width: 100%;max-width: 400px;text-align: left;}#progress h3 {font-size: 1.4rem;margin-bottom: 10px;}pre {background: #212121;color: #bdbdbd;padding: 12px;border-radius: 6px;font-size: 0.9rem;overflow: auto;margin-top: 5px;}</style></head><body><h2>Upload Files to Hugging Face Repository</h2>7 unmodified lines<label for="files">Select Files:</label><input type="file" id="files" name="files" multiple required><button type="submit">Upload Files</button></form><div id="progress"><h3>Upload Progress</h3><pre id="clientProgressText">Client to Server: No upload in progress...</pre><pre id="serverProgressText">Server to Storage: No upload in progress...</pre></div>
index.html+103-2