Commit
·
140f99a
1
Parent(s):
0228cca
fix color picker rgba to hex 2
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def check_rgba(string:str):
|
|
13 |
return string
|
14 |
else:
|
15 |
clean_str_list = string.split("(")[1].split(")")[0].split(",")
|
16 |
-
hex = rgba_to_hex(clean_str_list[0], clean_str_list[1], clean_str_list[2], clean_str_list[3])
|
17 |
return hex
|
18 |
|
19 |
def extract_waveform_animation(audio_file, window_seconds, waveform_color, background_color):
|
|
|
13 |
return string
|
14 |
else:
|
15 |
clean_str_list = string.split("(")[1].split(")")[0].split(",")
|
16 |
+
hex = rgba_to_hex(int(clean_str_list[0]), int(clean_str_list[1]), int(clean_str_list[2]), int(clean_str_list[3]))
|
17 |
return hex
|
18 |
|
19 |
def extract_waveform_animation(audio_file, window_seconds, waveform_color, background_color):
|