Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -192,7 +192,40 @@ with gr.Blocks(css="""
|
|
| 192 |
}
|
| 193 |
:root {
|
| 194 |
--trim-region-color: rgba(255, 153, 0, 0.5); /* Nice orange for example */
|
| 195 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 196 |
|
| 197 |
|
| 198 |
|
|
@@ -200,15 +233,15 @@ with gr.Blocks(css="""
|
|
| 200 |
|
| 201 |
gr.Markdown("""
|
| 202 |
<div style='width: 100%; text-align: center;'>
|
| 203 |
-
<img src="https://cdn-uploads.huggingface.co/production/uploads/6841b10b397a67a7c7a39b89/
|
| 204 |
</div>
|
| 205 |
""")
|
| 206 |
#https://cdn-uploads.huggingface.co/production/uploads/6841b10b397a67a7c7a39b89/MTR_dMHte-RCIbyujLW83.png
|
| 207 |
-
|
| 208 |
-
<div style='width: 90%; text-align: center;'>
|
| 209 |
-
|
| 210 |
-
</div>
|
| 211 |
-
""")
|
| 212 |
|
| 213 |
|
| 214 |
|
|
@@ -216,17 +249,17 @@ with gr.Blocks(css="""
|
|
| 216 |
chat_history = gr.State([])
|
| 217 |
|
| 218 |
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
'>
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
</div>
|
| 229 |
-
""")
|
| 230 |
|
| 231 |
# Step 1: Interview Type
|
| 232 |
with gr.Row():
|
|
|
|
| 192 |
}
|
| 193 |
:root {
|
| 194 |
--trim-region-color: rgba(255, 153, 0, 0.5); /* Nice orange for example */
|
| 195 |
+
|
| 196 |
+
|
| 197 |
+
.custom-tabs button[role="tab"]:nth-child(1)::before {
|
| 198 |
+
content: "";
|
| 199 |
+
background: url("https://cdn-icons-png.flaticon.com/512/1384/1384031.png") no-repeat center center;
|
| 200 |
+
background-size: contain;
|
| 201 |
+
width: 20px;
|
| 202 |
+
height: 20px;
|
| 203 |
+
display: inline-block;
|
| 204 |
+
margin-right: 8px;
|
| 205 |
+
vertical-align: middle;
|
| 206 |
+
}
|
| 207 |
+
|
| 208 |
+
.custom-tabs button[role="tab"]:nth-child(2)::before {
|
| 209 |
+
content: "";
|
| 210 |
+
background: url("https://cdn-icons-png.flaticon.com/512/727/727245.png") no-repeat center center;
|
| 211 |
+
background-size: contain;
|
| 212 |
+
width: 20px;
|
| 213 |
+
height: 20px;
|
| 214 |
+
display: inline-block;
|
| 215 |
+
margin-right: 8px;
|
| 216 |
+
vertical-align: middle;
|
| 217 |
+
}
|
| 218 |
+
|
| 219 |
+
.custom-tabs button[role="tab"]:nth-child(3)::before {
|
| 220 |
+
content: "";
|
| 221 |
+
background: url("https://cdn-icons-png.flaticon.com/512/2921/2921823.png") no-repeat center center;
|
| 222 |
+
background-size: contain;
|
| 223 |
+
width: 20px;
|
| 224 |
+
height: 20px;
|
| 225 |
+
display: inline-block;
|
| 226 |
+
margin-right: 8px;
|
| 227 |
+
vertical-align: middle;
|
| 228 |
+
}
|
| 229 |
|
| 230 |
|
| 231 |
|
|
|
|
| 233 |
|
| 234 |
gr.Markdown("""
|
| 235 |
<div style='width: 100%; text-align: center;'>
|
| 236 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/6841b10b397a67a7c7a39b89/MdYcoR3PmfLgLLof_NFL7.png" style="width: 100%; height: auto; object-fit: contain;">
|
| 237 |
</div>
|
| 238 |
""")
|
| 239 |
#https://cdn-uploads.huggingface.co/production/uploads/6841b10b397a67a7c7a39b89/MTR_dMHte-RCIbyujLW83.png
|
| 240 |
+
# gr.Markdown("""
|
| 241 |
+
# <div style='width: 90%; text-align: center;'>
|
| 242 |
+
# <img src="https://cdn-uploads.huggingface.co/production/uploads/6841b10b397a67a7c7a39b89/H6VqF7bDhPQ9k8lQo7fqO.png" style="width: 100%; height: auto; object-fit: contain;">
|
| 243 |
+
# </div>
|
| 244 |
+
# """)
|
| 245 |
|
| 246 |
|
| 247 |
|
|
|
|
| 249 |
chat_history = gr.State([])
|
| 250 |
|
| 251 |
|
| 252 |
+
# gr.Markdown("""<div style='
|
| 253 |
+
# font-family: 'Lato', sans-serif;
|
| 254 |
+
# text-align: center;
|
| 255 |
+
# padding: 30px;
|
| 256 |
+
# box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
| 257 |
+
# margin-bottom: 20px;
|
| 258 |
+
# '>
|
| 259 |
+
# <h1 style='font-size: 89.5px; color: #fafdff;'>Welcome to <b><span style='color: #7cf8ff;'>Intervu</span></b></h1>
|
| 260 |
+
# <p style='font-size: 22.1px; color: #fafdff; margin-top: 30px; text-align: center; margin-bottom: 30px;'>Before you begin, complete Step 1 to select your interview type and Step 2 to enter your background. Practice is available through text, speech, or webcam.</p>
|
| 261 |
+
# </div>
|
| 262 |
+
# """)
|
| 263 |
|
| 264 |
# Step 1: Interview Type
|
| 265 |
with gr.Row():
|