Skip to content

Commit

Permalink
html fx
Browse files Browse the repository at this point in the history
  • Loading branch information
dkounadis committed May 21, 2024
1 parent eef7f06 commit 7074e22
Show file tree
Hide file tree
Showing 2 changed files with 480 additions and 480 deletions.
10 changes: 5 additions & 5 deletions generate_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ def emotion_predictor(

# == markdown table

y = sorted(y, key=lambda d: d['emotion'][1]) # sort wav_files by valence
y = sorted(y, key=lambda d: d['emotion'][0]) # sort wav_files by valence

# SORTING OUTPUT IS LIST - 0-th ELEMENT = LOWEST VALENCE
#_________________________________________________
Expand Down Expand Up @@ -708,10 +708,10 @@ def emotion_predictor(
# f'<td>\n\n `dominance` \n\n</td>')

table = (
f'<html lang="en">\n<body>\n<h1>Available TTS Voices.</h1>'
f'\nIn \n'
f'<a href="https://github.com/audeering/shift/blob/main/demo.py">demo.py</a> '
f'you can use the Affective or Non-Affective version of each voice.<hr>'
f'<html lang="en">\n<body>\n<h1>Available TTS Voices</h1>'
f'\nYou can use the Affective or Non-Affective version of each voice in \n'
f'<a href="https://github.com/audeering/shift/blob/main/demo.py">demo.py</a>'
f'<hr>'
f'<table><tr><td>' # count
f'</td><td>\n\n voice \n\n</td>'
f'<td>\n\n Non-Affective \n\n</td>'
Expand Down
Loading

0 comments on commit 7074e22

Please sign in to comment.