RoadToIron commited on
Commit
5f0e729
·
1 Parent(s): 1b8131a

added torch because it was needed to run the application on huggingface

Browse files
Files changed (2) hide show
  1. app.py +1 -0
  2. requirements.txt +2 -1
app.py CHANGED
@@ -1,6 +1,7 @@
1
  from transformers import pipeline
2
  import gradio as gr
3
  import tensorflow as tf
 
4
 
5
  #load the gpt model
6
  #talker = pipeline("text-to-speech", model="microsoft/VibeVoice-1.5B")
 
1
  from transformers import pipeline
2
  import gradio as gr
3
  import tensorflow as tf
4
+ import torch
5
 
6
  #load the gpt model
7
  #talker = pipeline("text-to-speech", model="microsoft/VibeVoice-1.5B")
requirements.txt CHANGED
@@ -1,4 +1,5 @@
1
  tensorflow == 2.20.0
2
  gradio == 5.46.1
3
  transformers == 4.56.2
4
- tf-keras == 2.20.0
 
 
1
  tensorflow == 2.20.0
2
  gradio == 5.46.1
3
  transformers == 4.56.2
4
+ tf-keras == 2.20.0
5
+ torch ==2.2.0