fffiloni commited on
Commit
3419e26
1 Parent(s): 7372e90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -3,18 +3,14 @@ import gradio as gr
3
  from PIL import Image
4
  import os
5
 
6
- os.system("pip install openai")
7
  import openai
8
 
9
  #api_key = os.environ.get('api_key')
10
 
11
-
12
- whisper = gr.Interface.load(name="spaces/sanchit-gandhi/whisper-large-v2")
13
-
14
  from share_btn import community_icon_html, loading_icon_html, share_js
15
 
16
  token = os.environ.get('HF_TOKEN')
17
-
18
  tts = gr.Interface.load(name="spaces/Flux9665/IMS-Toucan")
19
  talking_face = gr.Blocks.load(name="spaces/fffiloni/one-shot-talking-face", api_key=token)
20
 
 
3
  from PIL import Image
4
  import os
5
 
 
6
  import openai
7
 
8
  #api_key = os.environ.get('api_key')
9
 
 
 
 
10
  from share_btn import community_icon_html, loading_icon_html, share_js
11
 
12
  token = os.environ.get('HF_TOKEN')
13
+ whisper = gr.Interface.load(name="spaces/sanchit-gandhi/whisper-large-v2")
14
  tts = gr.Interface.load(name="spaces/Flux9665/IMS-Toucan")
15
  talking_face = gr.Blocks.load(name="spaces/fffiloni/one-shot-talking-face", api_key=token)
16