zihaoz96 commited on
Commit
2ac8122
1 Parent(s): 47ece55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -51,13 +51,6 @@ image = gr.inputs.Image(shape=(300, 300), label="Upload Your Image Here")
51
  label = gr.outputs.Label(num_top_classes=len(labels))
52
 
53
  samples = [["samples/" + p + ".jpg"] for p in labels]
54
-
55
- css = '''
56
- .confidence{
57
- color: white;
58
- }
59
-
60
- '''
61
 
62
  interface = gr.Interface(
63
  fn=predict_image,
@@ -68,6 +61,6 @@ interface = gr.Interface(
68
  title="🦈 Shark image classifier",
69
  description="Made with HugsVision & ❤️",
70
  examples=samples,
71
- css=css
72
  )
73
  interface.launch()
 
51
  label = gr.outputs.Label(num_top_classes=len(labels))
52
 
53
  samples = [["samples/" + p + ".jpg"] for p in labels]
 
 
 
 
 
 
 
54
 
55
  interface = gr.Interface(
56
  fn=predict_image,
 
61
  title="🦈 Shark image classifier",
62
  description="Made with HugsVision & ❤️",
63
  examples=samples,
64
+ theme='default'
65
  )
66
  interface.launch()