Karzan commited on
Commit
0be5396
·
verified ·
1 Parent(s): fca315a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -1,5 +1,9 @@
1
  import gradio as gr
2
  import os
 
 
 
 
3
  HF_TOKEN = os.getenv('HF_TOKEN')
4
  # Load the interface from the specified space
5
  interface = gr.Interface.load("spaces/Karzan/Barnammer-TTS",api_key=HF_TOKEN)
 
1
  import gradio as gr
2
  import os
3
+
4
+ os.system("pip uninstall -y gradio")
5
+ os.system("pip install gradio==2.6.4")
6
+
7
  HF_TOKEN = os.getenv('HF_TOKEN')
8
  # Load the interface from the specified space
9
  interface = gr.Interface.load("spaces/Karzan/Barnammer-TTS",api_key=HF_TOKEN)