Spaces:
Running
Running
Update app.py
Browse files
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 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 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,
|