yalali commited on
Commit
934436b
·
verified ·
1 Parent(s): a4c6844

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -27
app.py CHANGED
@@ -1,30 +1,3 @@
1
- # -*- coding: utf-8 -*-
2
- """Speech-to-text.ipynb
3
-
4
- Automatically generated by Colab.
5
-
6
- Original file is located at
7
- https://colab.research.google.com/drive/1KH-Ype8YQshQHjpSPZKLzEt1Ms0WAzu0
8
-
9
- ## Install necessary libraries
10
-
11
- ### Subtask:
12
- Install `gradio` and any other required libraries for the speech-to-text model.
13
-
14
- **Reasoning**:
15
- The first step is to install the necessary libraries, starting with `gradio`. I will also install `transformers` and `datasets` which are commonly used for speech-to-text models from the Hugging Face ecosystem.
16
- """
17
-
18
- !pip install gradio transformers datasets
19
-
20
- """## Import libraries
21
-
22
- ### Subtask:
23
- Import the necessary libraries for building the Gradio interface and the speech-to-text model.
24
-
25
- **Reasoning**:
26
- Import the necessary libraries for building the Gradio interface and the speech-to-text model.
27
- """
28
 
29
  import gradio as gr
30
  from transformers import pipeline
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
 
2
  import gradio as gr
3
  from transformers import pipeline