TIMBOVILL commited on
Commit
b44b7cc
·
verified ·
1 Parent(s): d15d224

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +47 -1
app.py CHANGED
@@ -74,7 +74,53 @@ interface = gr.ChatInterface(
74
  theme=theme,
75
  submit_btn="↑",
76
  undo_btn="Delete",
77
- retry_btn="Retry"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  )
79
 
80
  with gr.Blocks(theme=theme) as demo:
 
74
  theme=theme,
75
  submit_btn="↑",
76
  undo_btn="Delete",
77
+ retry_btn="Retry",
78
+ head="""<!DOCTYPE html>
79
+ <html lang="en">
80
+ <head>
81
+ <meta charset="UTF-8">
82
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
83
+ <style>
84
+ body {
85
+ margin: 0;
86
+ font-family: Arial, sans-serif;
87
+ }
88
+ .top-bar {
89
+ display: flex;
90
+ justify-content: center;
91
+ align-items: center;
92
+ background-color: #1f1f20;
93
+ padding: 10px;
94
+ border-bottom: 1px solid #d1d5db;
95
+ width: 100%;
96
+ box-sizing: border-box;
97
+ }
98
+ .profile-container {
99
+ text-align: center;
100
+ }
101
+ .profile-image {
102
+ width: 50px;
103
+ height: 50px;
104
+ border-radius: 50%;
105
+ }
106
+ .profile-text {
107
+ margin-top: 8px;
108
+ font-size: 14px;
109
+ color: #ffffff;
110
+ }
111
+ </style>
112
+ <title>Top Bar</title>
113
+ </head>
114
+ <body>
115
+ <div class="top-bar">
116
+ <div class="profile-container">
117
+ <img src="./profile.png" alt="Profile Image" class="profile-image">
118
+ <p class="profile-text">TIMBOVILL</p>
119
+ </div>
120
+ </div>
121
+ </body>
122
+ </html>
123
+ """
124
  )
125
 
126
  with gr.Blocks(theme=theme) as demo: