qsardor commited on
Commit
0c52635
·
verified ·
1 Parent(s): eca9e14

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +22 -0
app.py CHANGED
@@ -378,6 +378,23 @@ button[title="copy"]:hover, .dark button[title="copy"]:hover,
378
  background: linear-gradient(135deg, #8b0000, #c0392b) !important;
379
  }
380
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
381
  /* Remove Gradio default borders and shadows on containers */
382
  .gradio-container .contain, .dark .gradio-container .contain {
383
  box-shadow: none !important;
@@ -391,6 +408,11 @@ with gr.Blocks(theme=ivy_theme, css=css) as demo:
391
  <p class="tagline">Smart Personal Statement Checker &bull; Fast, Accurate, and Reliable</p>
392
  <div class="divider"></div>
393
  </div>
 
 
 
 
 
394
  ''')
395
 
396
  with gr.Column():
 
378
  background: linear-gradient(135deg, #8b0000, #c0392b) !important;
379
  }
380
 
381
+ /* Warning Box */
382
+ .viorra-warning {
383
+ background-color: #fef2f2;
384
+ border: 1px solid #f87171;
385
+ color: #991b1b;
386
+ padding: 1rem;
387
+ border-radius: 8px;
388
+ text-align: center;
389
+ margin: 0 auto 2rem auto;
390
+ max-width: 800px;
391
+ font-size: 0.95rem;
392
+ line-height: 1.5;
393
+ }
394
+ .viorra-warning strong {
395
+ color: #7f1d1d;
396
+ }
397
+
398
  /* Remove Gradio default borders and shadows on containers */
399
  .gradio-container .contain, .dark .gradio-container .contain {
400
  box-shadow: none !important;
 
408
  <p class="tagline">Smart Personal Statement Checker &bull; Fast, Accurate, and Reliable</p>
409
  <div class="divider"></div>
410
  </div>
411
+
412
+ <div class="viorra-warning">
413
+ <strong>⚠️ LIMITED DEMO VERSION</strong><br>
414
+ This is a lightweight cloud preview. For the complete VIORRA experience—including 100% offline privacy, interactive chat follow-ups, and session history—<a href="https://github.com/qsardor/VIORRA" target="_blank" style="color: #8b0000; text-decoration: underline; font-weight: 600;">install the full application from GitHub</a>.
415
+ </div>
416
  ''')
417
 
418
  with gr.Column():