lisekarimi commited on
Commit
5cbae7f
·
1 Parent(s): e7ca7a7

Deploy version 0.3.0

Browse files
Files changed (4) hide show
  1. assets/styles.css +98 -0
  2. pyproject.toml +1 -1
  3. src/ui.py +18 -2
  4. uv.lock +1 -1
assets/styles.css CHANGED
@@ -268,6 +268,61 @@ input[type="number"] {
268
  display: none !important;
269
  }
270
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
271
  /* ========================================
272
  VERSION & FOOTER
273
  ======================================== */
@@ -425,6 +480,29 @@ input[type="number"] {
425
  padding: 12px !important;
426
  }
427
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
428
  .version-banner {
429
  font-size: 0.8em !important;
430
  padding: 10px !important;
@@ -479,6 +557,26 @@ input[type="number"] {
479
  font-size: 13px !important;
480
  }
481
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
482
  #input-container {
483
  padding: 12px !important;
484
  }
 
268
  display: none !important;
269
  }
270
 
271
+ /* ========================================
272
+ EXPLORE PROJECTS SECTION
273
+ ======================================== */
274
+
275
+ #explore-projects {
276
+ background-color: #1f2937;
277
+ padding: 20px;
278
+ border-radius: 10px;
279
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
280
+ margin-top: 20px;
281
+ text-align: center;
282
+ }
283
+
284
+ #explore-projects h3 {
285
+ font-size: 20px;
286
+ background: linear-gradient(to left, #ff416c, #ff4b2b);
287
+ -webkit-background-clip: text;
288
+ background-clip: text;
289
+ color: transparent;
290
+ font-weight: 600;
291
+ margin-bottom: 10px;
292
+ margin-top: 0;
293
+ }
294
+
295
+ #explore-projects p {
296
+ color: white !important;
297
+ font-size: 16px;
298
+ margin-bottom: 15px;
299
+ line-height: 1.5;
300
+ }
301
+
302
+ #explore-projects-button {
303
+ display: flex;
304
+ justify-content: center;
305
+ margin-top: 10px;
306
+ }
307
+
308
+ .portfolio-link {
309
+ background: linear-gradient(to left, #667eea, #764ba2);
310
+ color: white !important;
311
+ padding: 12px 24px;
312
+ text-decoration: none;
313
+ font-weight: bold;
314
+ border-radius: 8px;
315
+ transition: all 0.3s ease;
316
+ display: inline-block;
317
+ }
318
+
319
+ .portfolio-link:hover {
320
+ transform: translateY(-2px);
321
+ box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
322
+ text-decoration: none;
323
+ color: white !important;
324
+ }
325
+
326
  /* ========================================
327
  VERSION & FOOTER
328
  ======================================== */
 
480
  padding: 12px !important;
481
  }
482
 
483
+ #explore-projects {
484
+ padding: 15px !important;
485
+ margin-top: 15px !important;
486
+ }
487
+
488
+ #explore-projects h3 {
489
+ font-size: 18px !important;
490
+ margin-bottom: 8px !important;
491
+ }
492
+
493
+ #explore-projects p {
494
+ font-size: 14px !important;
495
+ margin-bottom: 12px !important;
496
+ }
497
+
498
+ .portfolio-link {
499
+ padding: 10px 20px !important;
500
+ font-size: 14px !important;
501
+ width: 100% !important;
502
+ text-align: center !important;
503
+ display: block !important;
504
+ }
505
+
506
  .version-banner {
507
  font-size: 0.8em !important;
508
  padding: 10px !important;
 
557
  font-size: 13px !important;
558
  }
559
 
560
+ #explore-projects {
561
+ padding: 12px !important;
562
+ margin-top: 12px !important;
563
+ }
564
+
565
+ #explore-projects h3 {
566
+ font-size: 16px !important;
567
+ margin-bottom: 6px !important;
568
+ }
569
+
570
+ #explore-projects p {
571
+ font-size: 13px !important;
572
+ margin-bottom: 10px !important;
573
+ }
574
+
575
+ .portfolio-link {
576
+ padding: 8px 16px !important;
577
+ font-size: 13px !important;
578
+ }
579
+
580
  #input-container {
581
  padding: 12px !important;
582
  }
pyproject.toml CHANGED
@@ -1,6 +1,6 @@
1
  [project]
2
  name = "datagen"
3
- version = "0.2.0"
4
  description = "AI-powered platform for generating synthetic datasets"
5
  readme = "README.md"
6
  requires-python = ">=3.11"
 
1
  [project]
2
  name = "datagen"
3
+ version = "0.3.0"
4
  description = "AI-powered platform for generating synthetic datasets"
5
  readme = "README.md"
6
  requires-python = ">=3.11"
src/ui.py CHANGED
@@ -37,7 +37,7 @@ def build_ui(css_path="assets/styles.css"):
37
 
38
  # Building the UI with error handling
39
  try:
40
- with gr.Blocks(css=css, title=f"🧬{PROJECT_NAME_CAP}") as ui:
41
  with gr.Column(elem_id="app-container"):
42
  gr.Markdown(f"<h1 id='app-title'>🏷️ {PROJECT_NAME_CAP} </h1>")
43
  gr.Markdown(
@@ -160,6 +160,22 @@ def build_ui(css_path="assets/styles.css"):
160
  outputs=[file_download, run_btn, status_message],
161
  )
162
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
163
  # Bottom: version info
164
  gr.Markdown(
165
  f"""
@@ -177,7 +193,7 @@ def build_ui(css_path="assets/styles.css"):
177
  """
178
  <a href="https://datagen.lisekarimi.com/docs" class="floating-chat-btn"
179
  target="_blank">
180
- 💬 Chat with AI Assistant
181
  </a>
182
  """
183
  )
 
37
 
38
  # Building the UI with error handling
39
  try:
40
+ with gr.Blocks(css=css, title=f"{PROJECT_NAME_CAP}") as ui:
41
  with gr.Column(elem_id="app-container"):
42
  gr.Markdown(f"<h1 id='app-title'>🏷️ {PROJECT_NAME_CAP} </h1>")
43
  gr.Markdown(
 
160
  outputs=[file_download, run_btn, status_message],
161
  )
162
 
163
+ # Explore More Projects section
164
+ explore_projects_html = """
165
+ <div id="explore-projects">
166
+ <h3>🚀 Explore More Projects</h3>
167
+ <p>Discover a comprehensive portfolio of AI/ML solutions.</p>
168
+ <div id="explore-projects-button">
169
+ <a href="https://lisekarimi.com"
170
+ class="portfolio-link"
171
+ target="_blank">
172
+ View Full Portfolio
173
+ </a>
174
+ </div>
175
+ </div>
176
+ """
177
+ gr.HTML(explore_projects_html)
178
+
179
  # Bottom: version info
180
  gr.Markdown(
181
  f"""
 
193
  """
194
  <a href="https://datagen.lisekarimi.com/docs" class="floating-chat-btn"
195
  target="_blank">
196
+ 📖 Read the Docs
197
  </a>
198
  """
199
  )
uv.lock CHANGED
@@ -177,7 +177,7 @@ wheels = [
177
 
178
  [[package]]
179
  name = "datagen"
180
- version = "0.2.0"
181
  source = { virtual = "." }
182
  dependencies = [
183
  { name = "anthropic" },
 
177
 
178
  [[package]]
179
  name = "datagen"
180
+ version = "0.3.0"
181
  source = { virtual = "." }
182
  dependencies = [
183
  { name = "anthropic" },