IncreasingLoss commited on
Commit
591d257
·
verified ·
1 Parent(s): ca77fd5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,7 +16,7 @@ example_images = [os.path.join(example_dir, f) for f in os.listdir(example_dir)
16
  if f.lower().endswith(('.png', '.jpg', '.jpeg', '.webp'))]
17
 
18
  # Custom CSS for styling
19
- css = """
20
  .centered-examples {
21
  margin: 0 auto !important;
22
  justify-content: center !important;
@@ -27,7 +27,7 @@ css = """
27
  width: 100px !important;
28
  object-fit: cover !important;
29
  }
30
- """
31
 
32
  with gr.Blocks(title="Animal Classifier", css=css) as demo:
33
  gr.Markdown("## 🐾 Animal Classifier")
 
16
  if f.lower().endswith(('.png', '.jpg', '.jpeg', '.webp'))]
17
 
18
  # Custom CSS for styling
19
+ css =
20
  .centered-examples {
21
  margin: 0 auto !important;
22
  justify-content: center !important;
 
27
  width: 100px !important;
28
  object-fit: cover !important;
29
  }
30
+
31
 
32
  with gr.Blocks(title="Animal Classifier", css=css) as demo:
33
  gr.Markdown("## 🐾 Animal Classifier")