stshanks commited on
Commit
691912b
·
verified ·
1 Parent(s): 042feec

Update app.py

Browse files

removed footer and updated colors

Files changed (1) hide show
  1. app.py +1 -10
app.py CHANGED
@@ -66,7 +66,7 @@ with gr.Blocks(theme=gr.themes.Glass()) as interface:
66
  # Header
67
  gr.Markdown(
68
  """
69
- <h1 style="text-align: center; color: #2F4F4F;">🏥 Prescription Recognition AI</h1>
70
  <p style="text-align: center; font-size: 18px;">Upload or take a picture of a handwritten prescription. The AI will identify the drug name.</p>
71
  <hr>
72
  """,
@@ -89,15 +89,6 @@ with gr.Blocks(theme=gr.themes.Glass()) as interface:
89
  # On button click, predict the drug name
90
  submit_button.click(fn=predict_text, inputs=image_input, outputs=output_text)
91
 
92
- # Footer
93
- gr.Markdown(
94
- """
95
- <hr>
96
- <p style="text-align: center;">Developed by <strong>Your Name</strong> | Powered by AI & Gradio</p>
97
- """,
98
- elem_id="footer"
99
- )
100
-
101
 
102
  if __name__ == "__main__":
103
  interface.launch()
 
66
  # Header
67
  gr.Markdown(
68
  """
69
+ <h1 style="text-align: center; background-color: #002855; color: #e2cb92;">🏥 Prescription Recognition AI</h1>
70
  <p style="text-align: center; font-size: 18px;">Upload or take a picture of a handwritten prescription. The AI will identify the drug name.</p>
71
  <hr>
72
  """,
 
89
  # On button click, predict the drug name
90
  submit_button.click(fn=predict_text, inputs=image_input, outputs=output_text)
91
 
 
 
 
 
 
 
 
 
 
92
 
93
  if __name__ == "__main__":
94
  interface.launch()