fffiloni commited on
Commit
b70251f
1 Parent(s): 2b17fb0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -59
app.py CHANGED
@@ -44,65 +44,7 @@ title = """
44
  </div>
45
  """
46
 
47
- css = '''
48
- #col-container, #col-container-2 {max-width: 510px; margin-left: auto; margin-right: auto;}
49
- a {text-decoration-line: underline; font-weight: 600;}
50
- div#record_btn > .mt-6 {
51
- margin-top: 0!important;
52
- }
53
- div#record_btn > .mt-6 button {
54
- width: 100%;
55
- height: 40px;
56
- }
57
- .footer {
58
- margin-bottom: 45px;
59
- margin-top: 10px;
60
- text-align: center;
61
- border-bottom: 1px solid #e5e5e5;
62
- }
63
- .footer>p {
64
- font-size: .8rem;
65
- display: inline-block;
66
- padding: 0 10px;
67
- transform: translateY(10px);
68
- background: white;
69
- }
70
- .dark .footer {
71
- border-color: #303030;
72
- }
73
- .dark .footer>p {
74
- background: #0b0f19;
75
- }
76
- .animate-spin {
77
- animation: spin 1s linear infinite;
78
- }
79
- @keyframes spin {
80
- from {
81
- transform: rotate(0deg);
82
- }
83
- to {
84
- transform: rotate(360deg);
85
- }
86
- }
87
- #share-btn-container {
88
- display: flex; padding-left: 0.5rem !important; padding-right: 0.5rem !important; background-color: #000000; justify-content: center; align-items: center; border-radius: 9999px !important; width: 13rem;
89
- }
90
- #share-btn {
91
- all: initial; color: #ffffff;font-weight: 600; cursor:pointer; font-family: 'IBM Plex Sans', sans-serif; margin-left: 0.5rem !important; padding-top: 0.25rem !important; padding-bottom: 0.25rem !important;right:0;
92
- }
93
- #share-btn * {
94
- all: unset;
95
- }
96
- #share-btn-container div:nth-child(-n+2){
97
- width: auto !important;
98
- min-height: 0px !important;
99
- }
100
- #share-btn-container .wrap {
101
- display: none !important;
102
- }
103
- '''
104
-
105
- with gr.Blocks(css=css) as demo:
106
 
107
  with gr.Column(elem_id="col-container"):
108
 
 
44
  </div>
45
  """
46
 
47
+ with gr.Blocks(css="style.css") as demo:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
 
49
  with gr.Column(elem_id="col-container"):
50