Spaces:
Running
Running
Commit
·
d622dc0
1
Parent(s):
c652a8b
Update index.html
Browse files- index.html +22 -17
index.html
CHANGED
|
@@ -1,19 +1,24 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
<html>
|
| 3 |
+
|
| 4 |
+
<head>
|
| 5 |
+
<meta charset="utf-8" />
|
| 6 |
+
<meta name="viewport" content="width=device-width" />
|
| 7 |
+
<title>My static Space</title>
|
| 8 |
+
<link rel="stylesheet" href="style.css" /> </head>
|
| 9 |
+
|
| 10 |
+
<body>
|
| 11 |
+
<div class="card">
|
| 12 |
+
<h1>Welcome to your static Space!</h1>
|
| 13 |
+
<p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
|
| 14 |
+
<p> Also don't forget to check the <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>. </p>
|
| 15 |
+
<div class="prompt-toolbox">
|
| 16 |
+
<h2>Prompt Toolbox Reverse Prompt Engineering Code Tool</h2>
|
| 17 |
+
<p>Use this tool to generate code based on a desired prompt. Simply enter your prompt in the input field below and click "Generate Code".</p>
|
| 18 |
+
<form> <label for="prompt">Enter your prompt:</label> <input type="text" id="prompt" name="prompt" /> <button type="button" onclick="generateCode()">Generate Code</button> </form>
|
| 19 |
+
<div id="code"></div>
|
| 20 |
+
</div>
|
| 21 |
+
</div>
|
| 22 |
+
<script>
|
| 23 |
+
function generateCode() {
|
| 24 |
+
const prompt =
|