Irsh Vijayvargia commited on
Commit
2a96d71
1 Parent(s): 34d5a4a

Changed Theme

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -99,8 +99,8 @@ def classify_image(image, layer_idx, typeCAM):
99
 
100
 
101
  description = """\
102
- <center>Upload an image of concrete and get the predicted label along with the GradCAM heatmap.</center>
103
- <img src="https://www.huggingface.co/spaces/1rsh/concrete-crack-gradcam/resolve/main/header.jpeg"></img>
104
  \
105
  """
106
 
@@ -113,7 +113,8 @@ iface = gr.Interface(
113
  outputs=[gr.Textbox(label="Predicted Label"), gr.Image(label="GradCAM Heatmap")],
114
  title="Concrete Crack Detection with GradCAM",
115
  description= description,
116
- allow_flagging=False
 
117
  )
118
 
119
  # Launch the interface
 
99
 
100
 
101
  description = """\
102
+ <hr><center>Upload an image of concrete and get the predicted label along with the GradCAM heatmap. <br><br>
103
+ <img src="https://www.huggingface.co/spaces/1rsh/concrete-crack-gradcam/resolve/main/header.jpeg" width=200px></img></center>
104
  \
105
  """
106
 
 
113
  outputs=[gr.Textbox(label="Predicted Label"), gr.Image(label="GradCAM Heatmap")],
114
  title="Concrete Crack Detection with GradCAM",
115
  description= description,
116
+ allow_flagging=False,
117
+ theme=gr.themes.Monochrome(font=gr.themes.GoogleFont("IBM Plex Mono"))
118
  )
119
 
120
  # Launch the interface