Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -908,7 +908,10 @@ 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 |
with gr.Row():
|
| 914 |
with gr.Column(scale=2):
|
|
@@ -942,7 +945,7 @@ with gr.Blocks(title="Affective Virtual Environments - Chunked Processing", css=
|
|
| 942 |
info="Uncheck to skip music generation and speed up processing"
|
| 943 |
)
|
| 944 |
with gr.Row():
|
| 945 |
-
process_btn = gr.Button("
|
| 946 |
clear_btn = gr.Button("Clear All", variant="secondary")
|
| 947 |
|
| 948 |
# Add a loading indicator
|
|
@@ -965,7 +968,7 @@ with gr.Blocks(title="Affective Virtual Environments - Chunked Processing", css=
|
|
| 965 |
with gr.Row():
|
| 966 |
emotion_output = gr.Label(label="Acoustic Emotion Prediction")
|
| 967 |
transcription_output = gr.Label(label="Transcribed Text")
|
| 968 |
-
sentiment_output = gr.Label(label="
|
| 969 |
with gr.Row():
|
| 970 |
image_output = gr.Image(label="Generated Equirectangular Image")
|
| 971 |
image_360_output = gr.File(label="Download 360 Image", type="filepath")
|
|
|
|
| 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("An Affective Virtual Environment or AVE is a digital space composed of two components: An emotion recognition system and a virtual environment generator.
|
| 912 |
+
In this project, we use bimodal speech emotion recognition to predict categorical emotions from semantic and acoustic modes.
|
| 913 |
+
Virtual Environments are generated using deepAI and MusicGEN.
|
| 914 |
+
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. Generate your Affective Virtual Environment and wait for the results. Donwload the HTML file with your creation.")
|
| 915 |
|
| 916 |
with gr.Row():
|
| 917 |
with gr.Column(scale=2):
|
|
|
|
| 945 |
info="Uncheck to skip music generation and speed up processing"
|
| 946 |
)
|
| 947 |
with gr.Row():
|
| 948 |
+
process_btn = gr.Button("Generate", variant="primary")
|
| 949 |
clear_btn = gr.Button("Clear All", variant="secondary")
|
| 950 |
|
| 951 |
# Add a loading indicator
|
|
|
|
| 968 |
with gr.Row():
|
| 969 |
emotion_output = gr.Label(label="Acoustic Emotion Prediction")
|
| 970 |
transcription_output = gr.Label(label="Transcribed Text")
|
| 971 |
+
sentiment_output = gr.Label(label="Sentimental Analysis")
|
| 972 |
with gr.Row():
|
| 973 |
image_output = gr.Image(label="Generated Equirectangular Image")
|
| 974 |
image_360_output = gr.File(label="Download 360 Image", type="filepath")
|