ktejeshnaidu commited on
Commit
ed96e1f
·
verified ·
1 Parent(s): 1debbd9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -7
app.py CHANGED
@@ -112,13 +112,12 @@ with gr.Blocks(title="Smilo😃 - Real-Time Emotion Detection") as demo:
112
  with gr.Column():
113
  image_output = gr.Image(label="Annotated Image")
114
  emotion_output = gr.Textbox(label="Prediction Result", interactive=False)
115
- with gr.HTML(
116
- "<div style='text-align: center; color: var(--color-text-secondary); font-size: 0.85em;'>"
117
- "Smilo - Real-Time Emotion Detction using PyTorch & OpenCV | "
118
- "<a href='https://github.com/TejeshNaiduKona/Smilo' target='_blank'>GitHub</a>"
119
- "</div>",
120
- unsafe_allow_html=True
121
- )
122
  # Connect the function to the button
123
  submit_btn.click(
124
  fn=predict_emotion,
 
112
  with gr.Column():
113
  image_output = gr.Image(label="Annotated Image")
114
  emotion_output = gr.Textbox(label="Prediction Result", interactive=False)
115
+ with gr.HTML("""
116
+ <div style='text-align: center; color: var(--color-text-secondary); font-size: 0.85em;'>
117
+ Smilo - Real-Time Emotion Detction using PyTorch & OpenCV |
118
+ <a href='https://github.com/TejeshNaiduKona/Smilo' target='_blank'>GitHub</a>
119
+ </div>
120
+ """)
 
121
  # Connect the function to the button
122
  submit_btn.click(
123
  fn=predict_emotion,