marquesafonso commited on
Commit
bd1da46
·
1 Parent(s): 11039ab

debug color picker 2

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -14,7 +14,8 @@ def check_rgba(string:str):
14
  else:
15
  clean_str_list = string.split("(")[1].split(")")[0].split(",")
16
  print(clean_str_list)
17
- hex = rgba_to_hex(int(clean_str_list[0]), int(clean_str_list[1]), int(clean_str_list[2]), int(clean_str_list[3]))
 
18
  return hex
19
 
20
  def extract_waveform_animation(audio_file, window_seconds, waveform_color, background_color):
 
14
  else:
15
  clean_str_list = string.split("(")[1].split(")")[0].split(",")
16
  print(clean_str_list)
17
+ hex = rgba_to_hex(int(clean_str_list[0].strip()), int(clean_str_list[1].strip()), int(clean_str_list[2].strip()), int(clean_str_list[3].strip()))
18
+ print(hex)
19
  return hex
20
 
21
  def extract_waveform_animation(audio_file, window_seconds, waveform_color, background_color):