Thiago Hersan commited on
Commit
a2c007f
·
1 Parent(s): 5cb8b36

update to sdk 6 and default python+libs

Browse files
Files changed (4) hide show
  1. .github/workflows/deploy-hf.yml +1 -1
  2. README.md +8 -2
  3. app.py +2 -1
  4. requirements.txt +0 -2
.github/workflows/deploy-hf.yml CHANGED
@@ -22,4 +22,4 @@ jobs:
22
 
23
  run: |
24
  git remote add hf https://thiagohersan:$HFTOKEN@huggingface.co/spaces/visualizedata/PSAM5020-STT-Gradio
25
- git push hf main
 
22
 
23
  run: |
24
  git remote add hf https://thiagohersan:$HFTOKEN@huggingface.co/spaces/visualizedata/PSAM5020-STT-Gradio
25
+ git push -f hf main
README.md CHANGED
@@ -4,8 +4,14 @@ emoji: 🔊
4
  colorFrom: indigo
5
  colorTo: yellow
6
  sdk: gradio
7
- python_version: 3.10.12
8
- sdk_version: 5.0.2
9
  app_file: app.py
10
  pinned: false
11
  ---
 
 
 
 
 
 
 
 
4
  colorFrom: indigo
5
  colorTo: yellow
6
  sdk: gradio
7
+ sdk_version: 6.0.1
 
8
  app_file: app.py
9
  pinned: false
10
  ---
11
+
12
+ <!-- python_version: 3.10.12 -->
13
+ <!-- sdk_version: 5.0.2 -->
14
+
15
+ <!-- requirements.txt: -->
16
+ <!-- pydantic==2.8.2 -->
17
+ <!-- huggingface-hub==0.34.3 -->
app.py CHANGED
@@ -29,9 +29,10 @@ with gr.Blocks() as demo:
29
  transcribe,
30
  inputs=gr.Audio(type="numpy"),
31
  outputs="text",
 
32
  cache_examples=True,
33
  examples=[["./audio/plain_01.wav"]]
34
  )
35
 
36
  if __name__ == "__main__":
37
- demo.launch()
 
29
  transcribe,
30
  inputs=gr.Audio(type="numpy"),
31
  outputs="text",
32
+ flagging_mode="never",
33
  cache_examples=True,
34
  examples=[["./audio/plain_01.wav"]]
35
  )
36
 
37
  if __name__ == "__main__":
38
+ demo.launch(ssr_mode=False)
requirements.txt CHANGED
@@ -1,5 +1,3 @@
1
- pydantic==2.8.2
2
- huggingface-hub==0.34.3
3
  librosa
4
  torch
5
  transformers
 
 
 
1
  librosa
2
  torch
3
  transformers