Elena commited on
Commit
182bcfb
·
verified ·
1 Parent(s): d8bcdea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -20,7 +20,7 @@ css = """
20
  }
21
  .gr-button {
22
  background-color: #007bff; /* Same color as the heading */
23
- color: white;
24
  border-radius: 5px;
25
  font-size: 16px;
26
  }
@@ -62,8 +62,6 @@ This model leverages deep learning techniques to classify chest X-ray images as
62
  - Numpy, Pandas, and Matplotlib for data handling and visualization
63
  - Flask and Gradio for deployment and user interaction
64
 
65
- **Sample Images:**
66
- To test the model, select one of the sample images provided below. Click on an image and then press the "Initiate Diagnostic Analysis" button to receive the results.
67
  """
68
 
69
  examples = [
@@ -82,6 +80,9 @@ with gr.Blocks(css=css) as interface:
82
  submit_btn = gr.Button("Initiate Diagnostic Analysis", elem_classes=["gr-button"])
83
  submit_btn.click(fn=predict, inputs=image_input, outputs=output)
84
 
 
 
 
85
  gr.Examples(examples=examples, inputs=image_input)
86
 
87
  gr.Markdown(description)
 
20
  }
21
  .gr-button {
22
  background-color: #007bff; /* Same color as the heading */
23
+ color: #333;
24
  border-radius: 5px;
25
  font-size: 16px;
26
  }
 
62
  - Numpy, Pandas, and Matplotlib for data handling and visualization
63
  - Flask and Gradio for deployment and user interaction
64
 
 
 
65
  """
66
 
67
  examples = [
 
80
  submit_btn = gr.Button("Initiate Diagnostic Analysis", elem_classes=["gr-button"])
81
  submit_btn.click(fn=predict, inputs=image_input, outputs=output)
82
 
83
+ gr.Markdown("**Sample Images:** To test the model, select one of the sample images provided below. Click on an image and then press the 'Initiate Diagnostic Analysis' button to receive the results.")
84
+
85
+
86
  gr.Examples(examples=examples, inputs=image_input)
87
 
88
  gr.Markdown(description)