fabianzeiher commited on
Commit
03eb644
·
1 Parent(s): e93ec4d

increased image size of sad face

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def transcribe(audio):
34
  print(f"Sentiment result: {sentiment}")
35
  sentiment= sentiment[0]["label"]
36
  happy_path = "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e0/SNice.svg/1200px-SNice.svg.png"
37
- sad_path = "https://upload.wikimedia.org/wikipedia/commons/thumb/4/42/Sad_smiley_yellow_simple.svg/240px-Sad_smiley_yellow_simple.svg.png"
38
  path = happy_path if sentiment == "POSITIVE" else sad_path
39
 
40
  description = f"The fine-tuned model took {time_fine} seconds while the original Whisper model took {time_raw} seconds.\nThe sentiment was evaluated from the fine-tuned model transcription as {sentiment.lower()}."
 
34
  print(f"Sentiment result: {sentiment}")
35
  sentiment= sentiment[0]["label"]
36
  happy_path = "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e0/SNice.svg/1200px-SNice.svg.png"
37
+ sad_path = "https://upload.wikimedia.org/wikipedia/commons/thumb/4/42/Sad_smiley_yellow_simple.svg/1024px-Sad_smiley_yellow_simple.svg.png"
38
  path = happy_path if sentiment == "POSITIVE" else sad_path
39
 
40
  description = f"The fine-tuned model took {time_fine} seconds while the original Whisper model took {time_raw} seconds.\nThe sentiment was evaluated from the fine-tuned model transcription as {sentiment.lower()}."