Benjamin Cho commited on
Commit
f68f0a3
·
verified ·
1 Parent(s): 85b974a

@startuml

Browse files

skinparam shadowing false
skinparam ArrowColor black
skinparam ActivityBackgroundColor white
skinparam activity {
StartColor white
BarColor black
}

partition "Government / NGOs" {
:Draft/Update AR standards;
}

partition "Platform / Tech" {
start
:Submit digital asset;
:Phase 1 - Content appropriateness\n(moderation, legal checks);
if ("Pass?") then (Yes)
:Phase 2 - Carrier of delivery\n(GPS | Marker | Vision);
partition "Local gov / Owners" {
:Provide zoning rules;\nOwner consent registry;
}
:Phase 3 - Location-based constraint\n(check zoning + owner consent);
if ("Location allowed?") then (Yes)
partition "Payment networks" {
:Risk policy + authorization;
}
:Phase 4 - Viewer access control\n(age/region gates, KYC, parental controls);
if ("Payment/Access ok?") then (Yes)
:Publish to AR runtime;
partition "User" {
:Auth + preferences;
:Render asset in AR client;
}
stop
else (No)
:Route to audit/appeals;
back to :Submit digital asset;
endif
else (No)
:Route to audit/appeals;
back to :Submit digital asset;
endif
else (No)
:Route to audit/appeals;
back to :Submit digital asset;
endif
@enduml
- Initial Deployment

Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +195 -18
  3. prompts.txt +48 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Moderation And Publishing Process
3
- emoji: 📉
4
- colorFrom: green
5
- colorTo: purple
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: moderation-and-publishing-process
3
+ emoji: 🐳
4
+ colorFrom: red
5
+ colorTo: green
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,196 @@
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="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>AR Content Moderation Flow</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://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
11
+ <script src="https://unpkg.com/feather-icons"></script>
12
+ <style>
13
+ .flow-chart {
14
+ display: flex;
15
+ flex-direction: column;
16
+ align-items: center;
17
+ width: 100%;
18
+ padding: 2rem;
19
+ }
20
+ .step {
21
+ width: 90%;
22
+ max-width: 800px;
23
+ margin: 1rem 0;
24
+ border-radius: 0.5rem;
25
+ padding: 1.5rem;
26
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
27
+ position: relative;
28
+ }
29
+ .step-arrow {
30
+ width: 0;
31
+ height: 0;
32
+ border-left: 15px solid transparent;
33
+ border-right: 15px solid transparent;
34
+ border-top: 15px solid #3B82F6;
35
+ margin: 0 auto;
36
+ }
37
+ .decision {
38
+ background-color: #F59E0B;
39
+ color: white;
40
+ }
41
+ .phase {
42
+ background-color: #3B82F6;
43
+ color: white;
44
+ }
45
+ .partition {
46
+ border-left: 4px solid #10B981;
47
+ padding-left: 1rem;
48
+ margin: 1rem 0;
49
+ }
50
+ .partition-title {
51
+ font-weight: bold;
52
+ color: #10B981;
53
+ margin-bottom: 0.5rem;
54
+ }
55
+ </style>
56
+ </head>
57
+ <body class="bg-gray-50">
58
+ <div class="container mx-auto py-12">
59
+ <header class="text-center mb-12">
60
+ <h1 class="text-4xl font-bold text-gray-800 mb-4">AR Content Moderation Flow</h1>
61
+ <p class="text-xl text-gray-600">Visualizing the moderation and publishing process for augmented reality content</p>
62
+ </header>
63
+
64
+ <div class="flow-chart">
65
+ <div class="step bg-white" data-aos="fade-up">
66
+ <h3 class="text-xl font-semibold mb-2">Government / NGOs</h3>
67
+ <div class="partition">
68
+ <div class="partition-title">Draft/Update AR standards</div>
69
+ </div>
70
+ </div>
71
+
72
+ <div class="step-arrow"></div>
73
+
74
+ <div class="step bg-white" data-aos="fade-up">
75
+ <h3 class="text-xl font-semibold mb-2">Platform / Tech</h3>
76
+ <div class="flex items-center mb-3">
77
+ <div class="w-8 h-8 bg-gray-800 rounded-full flex items-center justify-center text-white mr-3">1</div>
78
+ <span>Submit digital asset</span>
79
+ </div>
80
+ </div>
81
+
82
+ <div class="step-arrow"></div>
83
+
84
+ <div class="step phase" data-aos="fade-up">
85
+ <h3 class="text-xl font-semibold mb-2">Phase 1 - Content appropriateness</h3>
86
+ <p class="text-blue-100">Moderation, legal checks</p>
87
+ </div>
88
+
89
+ <div class="step-arrow"></div>
90
+
91
+ <div class="step decision" data-aos="fade-up">
92
+ <h3 class="text-xl font-semibold mb-2 text-center">Pass?</h3>
93
+ <div class="flex justify-center space-x-4 mt-4">
94
+ <div class="px-4 py-2 bg-green-500 rounded text-white">Yes</div>
95
+ <div class="px-4 py-2 bg-red-500 rounded text-white">No</div>
96
+ </div>
97
+ </div>
98
+
99
+ <div class="step-arrow"></div>
100
+
101
+ <div class="step phase" data-aos="fade-up">
102
+ <h3 class="text-xl font-semibold mb-2">Phase 2 - Carrier of delivery</h3>
103
+ <p class="text-blue-100">GPS | Marker | Vision</p>
104
+ </div>
105
+
106
+ <div class="step-arrow"></div>
107
+
108
+ <div class="step bg-white" data-aos="fade-up">
109
+ <h3 class="text-xl font-semibold mb-2">Local gov / Owners</h3>
110
+ <div class="partition">
111
+ <div class="partition-title">Provide zoning rules</div>
112
+ <div>Owner consent registry</div>
113
+ </div>
114
+ </div>
115
+
116
+ <div class="step-arrow"></div>
117
+
118
+ <div class="step phase" data-aos="fade-up">
119
+ <h3 class="text-xl font-semibold mb-2">Phase 3 - Location-based constraint</h3>
120
+ <p class="text-blue-100">Check zoning + owner consent</p>
121
+ </div>
122
+
123
+ <div class="step-arrow"></div>
124
+
125
+ <div class="step decision" data-aos="fade-up">
126
+ <h3 class="text-xl font-semibold mb-2 text-center">Location allowed?</h3>
127
+ <div class="flex justify-center space-x-4 mt-4">
128
+ <div class="px-4 py-2 bg-green-500 rounded text-white">Yes</div>
129
+ <div class="px-4 py-2 bg-red-500 rounded text-white">No</div>
130
+ </div>
131
+ </div>
132
+
133
+ <div class="step-arrow"></div>
134
+
135
+ <div class="step bg-white" data-aos="fade-up">
136
+ <h3 class="text-xl font-semibold mb-2">Payment networks</h3>
137
+ <div class="partition">
138
+ <div class="partition-title">Risk policy + authorization</div>
139
+ </div>
140
+ </div>
141
+
142
+ <div class="step-arrow"></div>
143
+
144
+ <div class="step phase" data-aos="fade-up">
145
+ <h3 class="text-xl font-semibold mb-2">Phase 4 - Viewer access control</h3>
146
+ <p class="text-blue-100">Age/region gates, KYC, parental controls</p>
147
+ </div>
148
+
149
+ <div class="step-arrow"></div>
150
+
151
+ <div class="step decision" data-aos="fade-up">
152
+ <h3 class="text-xl font-semibold mb-2 text-center">Payment/Access ok?</h3>
153
+ <div class="flex justify-center space-x-4 mt-4">
154
+ <div class="px-4 py-2 bg-green-500 rounded text-white">Yes</div>
155
+ <div class="px-4 py-2 bg-red-500 rounded text-white">No</div>
156
+ </div>
157
+ </div>
158
+
159
+ <div class="step-arrow"></div>
160
+
161
+ <div class="step bg-white" data-aos="fade-up">
162
+ <div class="flex items-center mb-3">
163
+ <div class="w-8 h-8 bg-gray-800 rounded-full flex items-center justify-center text-white mr-3">2</div>
164
+ <span>Publish to AR runtime</span>
165
+ </div>
166
+ </div>
167
+
168
+ <div class="step-arrow"></div>
169
+
170
+ <div class="step bg-white" data-aos="fade-up">
171
+ <h3 class="text-xl font-semibold mb-2">User</h3>
172
+ <div class="partition">
173
+ <div class="partition-title">Auth + preferences</div>
174
+ <div>Render asset in AR client</div>
175
+ </div>
176
+ </div>
177
+ </div>
178
+
179
+ <div class="mt-12 text-center">
180
+ <div class="inline-block px-6 py-3 bg-gray-800 text-white rounded-lg shadow-md" data-aos="fade-up">
181
+ <i data-feather="check-circle" class="inline mr-2"></i>
182
+ <span>Process Complete</span>
183
+ </div>
184
+ </div>
185
+ </div>
186
+
187
+ <script>
188
+ AOS.init({
189
+ duration: 800,
190
+ easing: 'ease-in-out',
191
+ once: true
192
+ });
193
+ feather.replace();
194
+ </script>
195
+ </body>
196
  </html>
prompts.txt ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @startuml
2
+ skinparam shadowing false
3
+ skinparam ArrowColor black
4
+ skinparam ActivityBackgroundColor white
5
+ skinparam activity {
6
+ StartColor white
7
+ BarColor black
8
+ }
9
+
10
+ partition "Government / NGOs" {
11
+ :Draft/Update AR standards;
12
+ }
13
+
14
+ partition "Platform / Tech" {
15
+ start
16
+ :Submit digital asset;
17
+ :Phase 1 - Content appropriateness\n(moderation, legal checks);
18
+ if ("Pass?") then (Yes)
19
+ :Phase 2 - Carrier of delivery\n(GPS | Marker | Vision);
20
+ partition "Local gov / Owners" {
21
+ :Provide zoning rules;\nOwner consent registry;
22
+ }
23
+ :Phase 3 - Location-based constraint\n(check zoning + owner consent);
24
+ if ("Location allowed?") then (Yes)
25
+ partition "Payment networks" {
26
+ :Risk policy + authorization;
27
+ }
28
+ :Phase 4 - Viewer access control\n(age/region gates, KYC, parental controls);
29
+ if ("Payment/Access ok?") then (Yes)
30
+ :Publish to AR runtime;
31
+ partition "User" {
32
+ :Auth + preferences;
33
+ :Render asset in AR client;
34
+ }
35
+ stop
36
+ else (No)
37
+ :Route to audit/appeals;
38
+ back to :Submit digital asset;
39
+ endif
40
+ else (No)
41
+ :Route to audit/appeals;
42
+ back to :Submit digital asset;
43
+ endif
44
+ else (No)
45
+ :Route to audit/appeals;
46
+ back to :Submit digital asset;
47
+ endif
48
+ @enduml