gopichandra commited on
Commit
e4445cf
·
verified ·
1 Parent(s): dff1fd0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -104
app.py CHANGED
@@ -466,108 +466,5 @@ def app():
466
  return interface
467
 
468
  if __name__ == "__main__":
469
- app().launch(share=True)
470
- css = """
471
- body {
472
- background: linear-gradient(135deg, #282c34, #4b79a1);
473
- font-family: 'Poppins', sans-serif;
474
- }
475
-
476
- .gradio-container {
477
- border-radius: 20px;
478
- padding: 30px;
479
- background: rgba(255, 255, 255, 0.2);
480
- backdrop-filter: blur(10px);
481
- box-shadow: 0px 8px 30px rgba(0, 123, 255, 0.4);
482
- border: 2px solid rgba(255, 255, 255, 0.4);
483
- }
484
-
485
- .gradio-title {
486
- font-size: 48px;
487
- font-weight: bold;
488
- text-align: center;
489
- background: linear-gradient(90deg, #ff7eb3, #ff758c);
490
- -webkit-background-clip: text;
491
- -webkit-text-fill-color: transparent;
492
- text-shadow: 5px 5px 20px rgba(255, 105, 180, 0.6);
493
- margin-bottom: 20px;
494
- animation: glow 2s infinite alternate;
495
- }
496
-
497
- @keyframes glow {
498
- from {
499
- text-shadow: 5px 5px 30px rgba(255, 87, 134, 0.6);
500
- }
501
- to {
502
- text-shadow: 6px 6px 40px rgba(255, 54, 90, 1);
503
- }
504
- }
505
-
506
- .gradio-box {
507
- border-radius: 15px;
508
- padding: 25px;
509
- background: linear-gradient(135deg, #6a11cb, #2575fc);
510
- box-shadow: 0px 6px 25px rgba(30, 144, 255, 0.6);
511
- border: 2px solid #6a5acd;
512
- color: white;
513
- font-size: 18px;
514
- }
515
-
516
- .gradio-button {
517
- border-radius: 12px;
518
- padding: 18px 36px;
519
- font-size: 20px;
520
- font-weight: bold;
521
- color: #fff;
522
- background: linear-gradient(135deg, #1e90ff, #00bfff);
523
- box-shadow: 0px 6px 25px rgba(0, 191, 255, 0.6);
524
- transition: all 0.3s ease-in-out;
525
- }
526
-
527
- .gradio-button:hover {
528
- background: linear-gradient(135deg, #00bfff, #1e90ff);
529
- box-shadow: 0px 10px 35px rgba(0, 191, 255, 0.9);
530
- transform: scale(1.1);
531
- }
532
-
533
- .gradio-input {
534
- border-radius: 10px;
535
- padding: 16px;
536
- font-size: 18px;
537
- background: rgba(255, 255, 255, 0.3);
538
- border: 2px solid rgba(0, 123, 255, 0.5);
539
- color: #fff;
540
- transition: 0.3s;
541
- }
542
-
543
- .gradio-input:focus {
544
- border: 2px solid #1e90ff;
545
- outline: none;
546
- box-shadow: 0px 5px 20px rgba(30, 144, 255, 0.6);
547
- }
548
-
549
- .gradio-output {
550
- background: linear-gradient(135deg, #f39c12, #e74c3c);
551
- padding: 22px;
552
- border-radius: 15px;
553
- color: white;
554
- font-size: 20px;
555
- text-align: center;
556
- border: 2px solid #f39c12;
557
- }
558
-
559
- .gradio-file {
560
- background: linear-gradient(135deg, #8e44ad, #3498db);
561
- color: white;
562
- padding: 16px;
563
- border-radius: 15px;
564
- text-align: center;
565
- font-size: 18px;
566
- }
567
- """
568
-
569
 
570
-
571
-
572
- if __name__ == "__main__":
573
- app().launch(share=True)
 
466
  return interface
467
 
468
  if __name__ == "__main__":
469
+ app().launch()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
470