soiz1 commited on
Commit
5ac5c47
·
verified ·
1 Parent(s): 73e25d2

Create templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +67 -0
templates/index.html ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="ja">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <title>HuggingFace Space 作成フォーム</title>
6
+ <script src="/static/script.js" defer></script>
7
+ </head>
8
+ <body>
9
+ <h1>Hugging Face Space 作成</h1>
10
+ <form method="POST">
11
+ <label>Hugging Face 書き込みトークン:
12
+ <input type="password" name="token" id="token" required>
13
+ </label><br>
14
+
15
+ <label>スペース名:
16
+ <input type="text" name="space_name" required>
17
+ </label><br>
18
+
19
+ <label>GitHub リポジトリURL または ID:
20
+ <input type="text" name="github_url" required>
21
+ </label><br>
22
+
23
+ <label>GitHub トークン (必要な場合):
24
+ <input type="password" name="github_token">
25
+ </label><br>
26
+
27
+ <label>非公開にする:
28
+ <input type="checkbox" name="private">
29
+ </label><br>
30
+
31
+ <label>SDK:
32
+ <select name="sdk">
33
+ <option value="gradio">Gradio</option>
34
+ <option value="streamlit">Streamlit</option>
35
+ <option value="static">Static</option>
36
+ <option value="docker">Docker</option>
37
+ </select>
38
+ </label><br>
39
+
40
+ <label>説明:
41
+ <input type="text" name="description">
42
+ </label><br>
43
+
44
+ <label>ライセンス:
45
+ <input type="text" name="license" placeholder="e.g. apache-2.0">
46
+ </label><br>
47
+
48
+ <label>アプリのポート:
49
+ <input type="text" name="port" placeholder="例: 7860">
50
+ </label><br>
51
+
52
+ <label>スペースの名前 (表示用):
53
+ <input type="text" name="title">
54
+ </label><br>
55
+
56
+ <label>絵文字 (表示アイコン):
57
+ <input type="text" name="emoji" placeholder="例: 🚀">
58
+ </label><br>
59
+
60
+ <label>固定 (ピン止め):
61
+ <input type="checkbox" name="pinned">
62
+ </label><br>
63
+
64
+ <button type="submit">スペースを作成</button>
65
+ </form>
66
+ </body>
67
+ </html>