Commit
·
5af8e7c
1
Parent(s):
d65d26d
Update app.py
Browse files
app.py
CHANGED
@@ -330,16 +330,18 @@ def translate_sign_language(gesture):
|
|
330 |
|
331 |
return gesture_translation , prod_video_path # frame_generator
|
332 |
|
333 |
-
#
|
334 |
-
|
335 |
-
|
|
|
|
|
336 |
|
337 |
with gr.Blocks(css=custom_css) as demo:
|
338 |
gr.Markdown("# Indian Sign Language Translation App")
|
339 |
|
340 |
# About the App
|
341 |
with gr.Tab("About the App"):
|
342 |
-
gr.Markdown(
|
343 |
|
344 |
# Gesture recognition Tab
|
345 |
with gr.Tab("Gesture recognition"):
|
|
|
330 |
|
331 |
return gesture_translation , prod_video_path # frame_generator
|
332 |
|
333 |
+
# Function to read the about.md file
|
334 |
+
def load_about_md():
|
335 |
+
with open("about.md", "r") as file:
|
336 |
+
about_content = file.read()
|
337 |
+
return about_content
|
338 |
|
339 |
with gr.Blocks(css=custom_css) as demo:
|
340 |
gr.Markdown("# Indian Sign Language Translation App")
|
341 |
|
342 |
# About the App
|
343 |
with gr.Tab("About the App"):
|
344 |
+
gr.Markdown(load_about_md())
|
345 |
|
346 |
# Gesture recognition Tab
|
347 |
with gr.Tab("Gesture recognition"):
|