Spaces:
Sleeping
Sleeping
p4r5kpftnp-cmd Claude Sonnet 4.6 commited on
Commit ·
c1a97cc
1
Parent(s): c2ebdf5
Fix Vercel CI: serve static redirect page instead of Python function
Browse filesVercel auto-detected app.py and failed trying to run it as a serverless
function. Added vercel.json pointing to a static public/ directory, and
a minimal index.html that directs visitors to Hugging Face Spaces where
the app actually runs.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- public/index.html +20 -0
- vercel.json +5 -0
public/index.html
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<title>Lean 4 Proof Assistant</title>
|
| 6 |
+
<style>
|
| 7 |
+
body { font-family: sans-serif; display: flex; align-items: center; justify-content: center; height: 100vh; margin: 0; background: #f5f5f5; }
|
| 8 |
+
.card { background: white; padding: 2rem 3rem; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.1); text-align: center; }
|
| 9 |
+
a { color: #f97316; font-weight: 600; text-decoration: none; }
|
| 10 |
+
a:hover { text-decoration: underline; }
|
| 11 |
+
</style>
|
| 12 |
+
</head>
|
| 13 |
+
<body>
|
| 14 |
+
<div class="card">
|
| 15 |
+
<h1>Lean 4 Proof Assistant</h1>
|
| 16 |
+
<p>This app runs on <strong>Hugging Face Spaces</strong>.</p>
|
| 17 |
+
<p><a href="https://huggingface.co/spaces">Open the app on Hugging Face Spaces →</a></p>
|
| 18 |
+
</div>
|
| 19 |
+
</body>
|
| 20 |
+
</html>
|
vercel.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"framework": null,
|
| 3 |
+
"buildCommand": null,
|
| 4 |
+
"outputDirectory": "public"
|
| 5 |
+
}
|