Antuke commited on
Commit
df5f783
·
1 Parent(s): e3c9e39

added demo video link

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -348,12 +348,9 @@ def process_image(image, selected_checkpoint_path):
348
  results_html = f"""
349
  <style>
350
  :root {{
351
- /* Your custom accent colors are fine */
352
  --primary-color: #4f46e5;
353
  --success-color: #10b981;
354
 
355
- /* --- FIX: Use Gradio's theme variables --- */
356
- /* This makes your component light/dark mode aware */
357
  --text-primary: var(--body-text-color);
358
  --text-secondary: var(--body-text-color-subdued);
359
  --background-dark: var(--background-fill-primary);
@@ -819,6 +816,7 @@ def create_interface(checkpoint_list, default_checkpoint, initial_status):
819
  2. Upload an image or capture from webcam (or select an example below)
820
  3. Click "Classify Image"
821
  4. View detected faces with age, gender, and emotion predictions below
 
822
  """)
823
 
824
  # Upload Image | Annotated Image
 
348
  results_html = f"""
349
  <style>
350
  :root {{
 
351
  --primary-color: #4f46e5;
352
  --success-color: #10b981;
353
 
 
 
354
  --text-primary: var(--body-text-color);
355
  --text-secondary: var(--body-text-color-subdued);
356
  --background-dark: var(--background-fill-primary);
 
816
  2. Upload an image or capture from webcam (or select an example below)
817
  3. Click "Classify Image"
818
  4. View detected faces with age, gender, and emotion predictions below
819
+ Demo video of usage of this space: https://youtu.be/V6-9QTf1xaQ
820
  """)
821
 
822
  # Upload Image | Annotated Image