Lakoc commited on
Commit
010c790
1 Parent(s): bb325ec

properly linked models and added info on how to clone it locally

Browse files
Files changed (2) hide show
  1. README.md +5 -0
  2. app.py +3 -9
README.md CHANGED
@@ -7,6 +7,11 @@ sdk: gradio
7
  sdk_version: 5.0.0
8
  app_file: app.py
9
  pinned: false
 
 
 
 
 
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
7
  sdk_version: 5.0.0
8
  app_file: app.py
9
  pinned: false
10
+ models:
11
+ - BUT-FIT/DeCRED-base
12
+ - BUT-FIT/DeCRED-small
13
+ - BUT-FIT/ED-base
14
+ - BUT-FIT/ED-small
15
  ---
16
 
17
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py CHANGED
@@ -160,19 +160,13 @@ yt_transcribe = gr.Interface(
160
 
161
  with demo:
162
  gr.TabbedInterface([mf_transcribe, file_transcribe, yt_transcribe], ["Microphone", "Audio file", "YouTube"])
 
163
  gr.Markdown(
164
  "Disclaimer: This space currently runs on basic CPU hardware, so generation might take a bit longer. "
165
  "You can clone the repository and run it locally for better performance. "
 
 
166
  "The model is not perfect and may make errors, so please use responsibly."
167
  )
168
- gr.Markdown(
169
- """
170
- ### Explore the Models:
171
- - [DeCRED base](https://huggingface.co/BUT-FIT/DeCRED-base)
172
- - [DeCRED small](https://huggingface.co/BUT-FIT/DeCRED-small)
173
- - [ED base](https://huggingface.co/BUT-FIT/ED-base)
174
- - [ED small](https://huggingface.co/BUT-FIT/ED-small)
175
- """
176
- )
177
 
178
  demo.queue().launch(ssr_mode=False)
 
160
 
161
  with demo:
162
  gr.TabbedInterface([mf_transcribe, file_transcribe, yt_transcribe], ["Microphone", "Audio file", "YouTube"])
163
+
164
  gr.Markdown(
165
  "Disclaimer: This space currently runs on basic CPU hardware, so generation might take a bit longer. "
166
  "You can clone the repository and run it locally for better performance. "
167
+ "Please refer to the [Hugging Face documentation](https://huggingface.co/docs/hub/spaces-overview#clone-the-repository) "
168
+ "on how to clone the repository and run it locally. "
169
  "The model is not perfect and may make errors, so please use responsibly."
170
  )
 
 
 
 
 
 
 
 
 
171
 
172
  demo.queue().launch(ssr_mode=False)