xp3857 commited on
Commit
0b0548c
1 Parent(s): b296bcf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -16
app.py CHANGED
@@ -57,22 +57,7 @@ t_out = ("""
57
 
58
  }
59
 
60
- #restart_btn{
61
- position: fixed;
62
- top: 50%;
63
- left: 50%;
64
- z-index:19999;
65
- font-family: "Poppins",sans-serif;
66
- text-align: center;
67
- padding: 30px 40px;
68
- border-radius: 8px;
69
-
70
- background: #ff000059;
71
- width: 200px;
72
- height: 200px;
73
- padding: 30px 40px;
74
- transform: translate(-50%,-50%);
75
- }
76
 
77
 
78
 
@@ -150,6 +135,27 @@ document.querySelector("#close").addEventListener("click", function(){
150
 
151
  """)
152
  m_out = ("""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
153
  <div id="restart_btn">
154
  <h1><center>Loading Time Limit Reached.<br>
155
  Please Click Launch again to Continue, or choose a Simpler Prompt</center></h1>
 
57
 
58
  }
59
 
60
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
 
62
 
63
 
 
135
 
136
  """)
137
  m_out = ("""
138
+
139
+ <link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
140
+
141
+ <style>
142
+ #restart_btn{
143
+ position: fixed;
144
+ top: 50%;
145
+ left: 50%;
146
+ z-index:19999;
147
+ font-family: "Poppins",sans-serif;
148
+ text-align: center;
149
+ padding: 30px 40px;
150
+ border-radius: 8px;
151
+
152
+ background: #ff000059;
153
+ width: 200px;
154
+ height: 200px;
155
+ padding: 30px 40px;
156
+ transform: translate(-50%,-50%);
157
+ }
158
+ </style>
159
  <div id="restart_btn">
160
  <h1><center>Loading Time Limit Reached.<br>
161
  Please Click Launch again to Continue, or choose a Simpler Prompt</center></h1>