David Driscoll commited on
Commit
565e309
·
1 Parent(s): 2e20db1

Update app

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -133,21 +133,26 @@ body {
133
  background-color: #0e0e0e;
134
  color: #e0e0e0;
135
  font-family: 'Orbitron', sans-serif;
 
 
136
  }
137
  .gradio-container {
138
  background: linear-gradient(135deg, #1e1e2f, #3e3e55);
139
  border-radius: 10px;
140
  padding: 20px;
 
 
141
  }
142
  .gradio-title {
143
  font-size: 2.5em;
144
  color: #66fcf1;
145
  text-align: center;
 
146
  }
147
  .gradio-description {
148
  font-size: 1.2em;
149
  text-align: center;
150
- margin-bottom: 20px;
151
  }
152
  """
153
 
@@ -201,7 +206,7 @@ demo = gr.Blocks(css=custom_css)
201
  with demo:
202
  gr.Markdown("<h1 class='gradio-title'>Real-Time Multi-Analysis App</h1>")
203
  gr.Markdown("<p class='gradio-description'>Experience a high-tech cinematic interface for real-time analysis of your posture, emotions, objects, and faces using your webcam.</p>")
204
- demo_tab = tabbed_interface
205
 
206
  if __name__ == "__main__":
207
  demo.launch()
 
133
  background-color: #0e0e0e;
134
  color: #e0e0e0;
135
  font-family: 'Orbitron', sans-serif;
136
+ margin: 0;
137
+ padding: 0;
138
  }
139
  .gradio-container {
140
  background: linear-gradient(135deg, #1e1e2f, #3e3e55);
141
  border-radius: 10px;
142
  padding: 20px;
143
+ max-width: 1200px;
144
+ margin: auto;
145
  }
146
  .gradio-title {
147
  font-size: 2.5em;
148
  color: #66fcf1;
149
  text-align: center;
150
+ margin-bottom: 0.2em;
151
  }
152
  .gradio-description {
153
  font-size: 1.2em;
154
  text-align: center;
155
+ margin-bottom: 1em;
156
  }
157
  """
158
 
 
206
  with demo:
207
  gr.Markdown("<h1 class='gradio-title'>Real-Time Multi-Analysis App</h1>")
208
  gr.Markdown("<p class='gradio-description'>Experience a high-tech cinematic interface for real-time analysis of your posture, emotions, objects, and faces using your webcam.</p>")
209
+ tabbed_interface.render()
210
 
211
  if __name__ == "__main__":
212
  demo.launch()