Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -987,59 +987,16 @@ with gr.Blocks(title="Affective Virtual Environments - Chunked Processing", css=
|
|
| 987 |
# Enhanced Download 360 Viewer Section
|
| 988 |
with gr.Group(visible=True, elem_classes="download-section") as download_group:
|
| 989 |
gr.Markdown("""
|
| 990 |
-
#
|
| 991 |
|
| 992 |
-
Your personalized virtual environment has been generated. Download the interactive 360Β° viewer to explore your creation!
|
| 993 |
-
""")
|
| 994 |
|
| 995 |
-
|
| 996 |
-
|
| 997 |
-
|
| 998 |
-
|
| 999 |
-
|
| 1000 |
-
|
| 1001 |
-
|
| 1002 |
-
with gr.Column(scale=1, min_width=150):
|
| 1003 |
-
gr.Markdown("""
|
| 1004 |
-
<div class="feature-item">
|
| 1005 |
-
<span class="feature-icon">π</span> 360Β° Panoramic View
|
| 1006 |
-
</div>
|
| 1007 |
-
""")
|
| 1008 |
-
|
| 1009 |
-
with gr.Column(scale=1, min_width=150):
|
| 1010 |
-
gr.Markdown("""
|
| 1011 |
-
<div class="feature-item">
|
| 1012 |
-
<span class="feature-icon">π΅</span> Synchronized Audio
|
| 1013 |
-
</div>
|
| 1014 |
-
""")
|
| 1015 |
-
|
| 1016 |
-
with gr.Column(scale=1, min_width=150):
|
| 1017 |
-
gr.Markdown("""
|
| 1018 |
-
<div class="feature-item">
|
| 1019 |
-
<span class="feature-icon">π</span> Interactive Navigation
|
| 1020 |
-
</div>
|
| 1021 |
-
""")
|
| 1022 |
-
|
| 1023 |
-
gr.Markdown("""
|
| 1024 |
-
<div class="instructions">
|
| 1025 |
-
<h3>π How to use:</h3>
|
| 1026 |
-
<ol>
|
| 1027 |
-
<li>Download the HTML file using the button below</li>
|
| 1028 |
-
<li>Open the file in your web browser (Chrome, Firefox, Edge)</li>
|
| 1029 |
-
<li>Use your mouse to drag and explore the 360Β° environment</li>
|
| 1030 |
-
<li>Switch between different chunks using the dropdown menu</li>
|
| 1031 |
-
<li>Enjoy the synchronized audio experience!</li>
|
| 1032 |
-
</ol>
|
| 1033 |
-
</div>
|
| 1034 |
-
""")
|
| 1035 |
-
|
| 1036 |
-
with gr.Column(scale=1, min_width=300):
|
| 1037 |
-
# Preview image (placeholder - you could add a function to generate a preview)
|
| 1038 |
-
gr.Markdown("""
|
| 1039 |
-
<div class="viewer-preview">
|
| 1040 |
-
<img src="https://img.freepik.com/free-vector/abstract-360-degree-panorama-virtual-reality-background_1048-14629.jpg" alt="360 Viewer Preview">
|
| 1041 |
-
</div>
|
| 1042 |
-
""")
|
| 1043 |
|
| 1044 |
# Enhanced download button
|
| 1045 |
viewer_html_output = gr.File(
|
|
|
|
| 987 |
# Enhanced Download 360 Viewer Section
|
| 988 |
with gr.Group(visible=True, elem_classes="download-section") as download_group:
|
| 989 |
gr.Markdown("""
|
| 990 |
+
# Your Affective Virtual Environment is Ready to Download!
|
| 991 |
|
|
|
|
|
|
|
| 992 |
|
| 993 |
+
""")
|
| 994 |
+
|
| 995 |
+
|
| 996 |
+
|
| 997 |
+
"""
|
| 998 |
+
|
| 999 |
+
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1000 |
|
| 1001 |
# Enhanced download button
|
| 1002 |
viewer_html_output = gr.File(
|