CodeHima commited on
Commit
f682d76
·
verified ·
1 Parent(s): 5c11cf9

Deploy OdiaGPT-Web interactive Space

Browse files
Files changed (2) hide show
  1. README.md +11 -4
  2. index.html +77 -18
README.md CHANGED
@@ -1,10 +1,17 @@
1
  ---
2
- title: OdiaGPT Web
3
- emoji: 🐨
4
  colorFrom: purple
5
- colorTo: green
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: OdiaGPT Web Demo
3
+ emoji: 🛕
4
  colorFrom: purple
5
+ colorTo: indigo
6
  sdk: static
7
  pinned: false
8
+ license: apache-2.0
9
+ short_description: Interactive Web UI for OdiaGPT-30M
10
  ---
11
 
12
+ # OdiaGPT-30M Web Interface
13
+
14
+ Interactive web application for **OdiaGPT-30M**, the first Odia autoregressive decoder-only Transformer built from scratch.
15
+
16
+ - **Model Repository**: [CodeHima/OdiaGPT-30M](https://huggingface.co/CodeHima/OdiaGPT-30M)
17
+ - **Live Colab Gradio**: [https://7165f80b8a0ec54d28.gradio.live](https://7165f80b8a0ec54d28.gradio.live)
index.html CHANGED
@@ -1,19 +1,78 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="or">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>ଓଡ଼ିଆଜିପିଟି (OdiaGPT-30M) — Interactive Demo</title>
7
+ <style>
8
+ body, html {
9
+ margin: 0;
10
+ padding: 0;
11
+ width: 100%;
12
+ height: 100%;
13
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
14
+ background-color: #0f172a;
15
+ color: #f8fafc;
16
+ display: flex;
17
+ flex-direction: column;
18
+ }
19
+ header {
20
+ background: linear-gradient(135deg, #3b0764 0%, #1e1b4b 100%);
21
+ padding: 14px 24px;
22
+ display: flex;
23
+ justify-content: space-between;
24
+ align-items: center;
25
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1);
26
+ }
27
+ .title-group h1 {
28
+ margin: 0;
29
+ font-size: 1.3rem;
30
+ color: #faf5ff;
31
+ }
32
+ .title-group p {
33
+ margin: 2px 0 0 0;
34
+ font-size: 0.82rem;
35
+ color: #e9d5ff;
36
+ }
37
+ .links a {
38
+ color: #c084fc;
39
+ text-decoration: none;
40
+ font-size: 0.9rem;
41
+ margin-left: 16px;
42
+ padding: 6px 12px;
43
+ background: rgba(255, 255, 255, 0.08);
44
+ border-radius: 6px;
45
+ transition: all 0.2s;
46
+ }
47
+ .links a:hover {
48
+ background: rgba(255, 255, 255, 0.16);
49
+ color: #ffffff;
50
+ }
51
+ .iframe-container {
52
+ flex: 1;
53
+ width: 100%;
54
+ position: relative;
55
+ }
56
+ iframe {
57
+ width: 100%;
58
+ height: 100%;
59
+ border: none;
60
+ }
61
+ </style>
62
+ </head>
63
+ <body>
64
+ <header>
65
+ <div class="title-group">
66
+ <h1>ଓଡ଼ିଆଜିପିଟି (OdiaGPT-30M) Live Interactive Web UI</h1>
67
+ <p>100% From-Scratch Decoder-Only Transformer • 31.5M Parameters • 8K SentencePiece</p>
68
+ </div>
69
+ <div class="links">
70
+ <a href="https://huggingface.co/CodeHima/OdiaGPT-30M" target="_blank">🤗 Model Card</a>
71
+ <a href="https://7165f80b8a0ec54d28.gradio.live" target="_blank">🔗 Fullscreen Gradio</a>
72
+ </div>
73
+ </header>
74
+ <div class="iframe-container">
75
+ <iframe src="https://7165f80b8a0ec54d28.gradio.live" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
76
+ </div>
77
+ </body>
78
  </html>