Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -551,7 +551,7 @@ def create_360_viewer_html(image_paths, audio_paths, output_path):
|
|
| 551 |
#controls {{
|
| 552 |
position: absolute;
|
| 553 |
top: 10px;
|
| 554 |
-
|
| 555 |
z-index: 1000;
|
| 556 |
background: rgba(0, 0, 0, 0.7);
|
| 557 |
color: white;
|
|
@@ -908,12 +908,21 @@ custom_css = """
|
|
| 908 |
# Create the Gradio interface with proper output handling
|
| 909 |
with gr.Blocks(title="Affective Virtual Environments - Chunked Processing", css=custom_css) as interface:
|
| 910 |
gr.Markdown("# Affective Virtual Environments")
|
| 911 |
-
gr.Markdown(
|
| 912 |
-
|
| 913 |
-
|
| 914 |
-
|
| 915 |
-
|
| 916 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 917 |
|
| 918 |
with gr.Row():
|
| 919 |
with gr.Column(scale=2):
|
|
|
|
| 551 |
#controls {{
|
| 552 |
position: absolute;
|
| 553 |
top: 10px;
|
| 554 |
+
right: 10px;
|
| 555 |
z-index: 1000;
|
| 556 |
background: rgba(0, 0, 0, 0.7);
|
| 557 |
color: white;
|
|
|
|
| 908 |
# Create the Gradio interface with proper output handling
|
| 909 |
with gr.Blocks(title="Affective Virtual Environments - Chunked Processing", css=custom_css) as interface:
|
| 910 |
gr.Markdown("# Affective Virtual Environments")
|
| 911 |
+
gr.Markdown(
|
| 912 |
+
"""
|
| 913 |
+
An Affective Virtual Environment or AVE is a digital space composed of two components: An emotion recognition system and a virtual environment generator.
|
| 914 |
+
|
| 915 |
+
In this project, we use bimodal speech emotion recognition to predict categorical emotions from semantic and acoustic modes.
|
| 916 |
+
|
| 917 |
+
Virtual Environments are generated using deepAI and MusicGEN.
|
| 918 |
+
|
| 919 |
+
To interact, record your voice or upload an audio file. Define the length to Chunk your sample, and if you want to generate Audio for each chunk or not.
|
| 920 |
+
|
| 921 |
+
Generate your Affective Virtual Environment and wait for the results.
|
| 922 |
+
|
| 923 |
+
Download the HTML file with your creation.
|
| 924 |
+
"""
|
| 925 |
+
)
|
| 926 |
|
| 927 |
with gr.Row():
|
| 928 |
with gr.Column(scale=2):
|