NikitaSrivatsan commited on
Commit
3d5b800
1 Parent(s): 05452de

Testing filepath input

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +0 -1
app.py CHANGED
@@ -4,6 +4,6 @@ def greet(name):
4
  return f'Hello {name}!!'
5
 
6
  demo = gr.Interface(fn=greet,
7
- inputs=gr.Audio(sources='upload'),
8
  outputs='text')
9
  demo.launch()
 
4
  return f'Hello {name}!!'
5
 
6
  demo = gr.Interface(fn=greet,
7
+ inputs=gr.Audio(sources='upload', type='filepath'),
8
  outputs='text')
9
  demo.launch()
requirements.txt CHANGED
@@ -5,7 +5,6 @@ matplotlib==3.5.3
5
  numpy==1.23.5
6
  pandas==1.5.3
7
  scikit_image==0.19.3
8
- skimage==0.0
9
  torch==2.0.1
10
  torchaudio==2.0.2
11
  tqdm==4.64.0
 
5
  numpy==1.23.5
6
  pandas==1.5.3
7
  scikit_image==0.19.3
 
8
  torch==2.0.1
9
  torchaudio==2.0.2
10
  tqdm==4.64.0