Spaces:
Running
Running
hf jobs run python:3.12 python -c 'print("Hello from the cloud!")' - Initial Deployment
Browse files- README.md +7 -5
- index.html +88 -18
- prompts.txt +1 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: tiny-house-styles
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: purple
|
| 5 |
+
colorTo: pink
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,89 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Cloud Job Runner</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
|
| 9 |
+
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
|
| 10 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 11 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 12 |
+
<style>
|
| 13 |
+
.gradient-bg {
|
| 14 |
+
background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
|
| 15 |
+
}
|
| 16 |
+
.code-block {
|
| 17 |
+
font-family: 'Courier New', monospace;
|
| 18 |
+
background: rgba(0,0,0,0.7);
|
| 19 |
+
border-radius: 8px;
|
| 20 |
+
padding: 1rem;
|
| 21 |
+
color: #f8f8f2;
|
| 22 |
+
}
|
| 23 |
+
</style>
|
| 24 |
+
</head>
|
| 25 |
+
<body class="min-h-screen gradient-bg text-white">
|
| 26 |
+
<div class="container mx-auto px-4 py-16">
|
| 27 |
+
<div class="max-w-3xl mx-auto text-center" data-aos="fade-down">
|
| 28 |
+
<div class="inline-block p-3 bg-white bg-opacity-10 rounded-full mb-6">
|
| 29 |
+
<i data-feather="cloud" class="w-10 h-10"></i>
|
| 30 |
+
</div>
|
| 31 |
+
<h1 class="text-4xl md:text-5xl font-bold mb-6">Cloud Job Runner</h1>
|
| 32 |
+
<p class="text-xl opacity-90 mb-8">Execute Python scripts in the cloud with ease</p>
|
| 33 |
+
|
| 34 |
+
<div class="bg-white bg-opacity-10 backdrop-blur-md rounded-xl p-6 mb-8" data-aos="fade-up">
|
| 35 |
+
<div class="code-block text-left mb-6">
|
| 36 |
+
<span class="text-green-400">$</span> hf jobs run python:3.12 python -c 'print("Hello from the cloud!")'
|
| 37 |
+
</div>
|
| 38 |
+
<div class="code-block text-left">
|
| 39 |
+
<span class="text-blue-400">>></span> Hello from the cloud!
|
| 40 |
+
</div>
|
| 41 |
+
</div>
|
| 42 |
+
|
| 43 |
+
<div class="flex flex-col sm:flex-row gap-4 justify-center">
|
| 44 |
+
<button class="px-6 py-3 bg-white text-purple-700 rounded-lg font-medium hover:bg-opacity-90 transition-all flex items-center gap-2">
|
| 45 |
+
<i data-feather="play"></i> Run Example
|
| 46 |
+
</button>
|
| 47 |
+
<button class="px-6 py-3 bg-transparent border border-white border-opacity-30 rounded-lg font-medium hover:bg-white hover:bg-opacity-10 transition-all flex items-center gap-2">
|
| 48 |
+
<i data-feather="code"></i> View Docs
|
| 49 |
+
</button>
|
| 50 |
+
</div>
|
| 51 |
+
</div>
|
| 52 |
+
|
| 53 |
+
<div class="mt-20 grid md:grid-cols-3 gap-8 max-w-6xl mx-auto">
|
| 54 |
+
<div class="bg-white bg-opacity-5 p-6 rounded-xl backdrop-blur-sm" data-aos="fade-up" data-aos-delay="100">
|
| 55 |
+
<div class="w-12 h-12 bg-white bg-opacity-10 rounded-lg flex items-center justify-center mb-4">
|
| 56 |
+
<i data-feather="zap" class="text-purple-300"></i>
|
| 57 |
+
</div>
|
| 58 |
+
<h3 class="text-xl font-semibold mb-2">Fast Execution</h3>
|
| 59 |
+
<p class="opacity-80">Run your Python scripts instantly in our cloud environment with minimal setup.</p>
|
| 60 |
+
</div>
|
| 61 |
+
|
| 62 |
+
<div class="bg-white bg-opacity-5 p-6 rounded-xl backdrop-blur-sm" data-aos="fade-up" data-aos-delay="200">
|
| 63 |
+
<div class="w-12 h-12 bg-white bg-opacity-10 rounded-lg flex items-center justify-center mb-4">
|
| 64 |
+
<i data-feather="cpu" class="text-blue-300"></i>
|
| 65 |
+
</div>
|
| 66 |
+
<h3 class="text-xl font-semibold mb-2">Latest Python</h3>
|
| 67 |
+
<p class="opacity-80">Supports Python 3.12 and other versions with all standard libraries available.</p>
|
| 68 |
+
</div>
|
| 69 |
+
|
| 70 |
+
<div class="bg-white bg-opacity-5 p-6 rounded-xl backdrop-blur-sm" data-aos="fade-up" data-aos-delay="300">
|
| 71 |
+
<div class="w-12 h-12 bg-white bg-opacity-10 rounded-lg flex items-center justify-center mb-4">
|
| 72 |
+
<i data-feather="lock" class="text-green-300"></i>
|
| 73 |
+
</div>
|
| 74 |
+
<h3 class="text-xl font-semibold mb-2">Secure</h3>
|
| 75 |
+
<p class="opacity-80">Each job runs in an isolated container with no persistent storage between runs.</p>
|
| 76 |
+
</div>
|
| 77 |
+
</div>
|
| 78 |
+
</div>
|
| 79 |
+
|
| 80 |
+
<script>
|
| 81 |
+
AOS.init({
|
| 82 |
+
duration: 800,
|
| 83 |
+
easing: 'ease-out-quad',
|
| 84 |
+
once: true
|
| 85 |
+
});
|
| 86 |
+
feather.replace();
|
| 87 |
+
</script>
|
| 88 |
+
</body>
|
| 89 |
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
hf jobs run python:3.12 python -c 'print("Hello from the cloud!")'
|