ercaronte commited on
Commit
5704381
1 Parent(s): d2abf2e

Update app.py

Browse files

Trying to fix the issue with the assessment space

Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -90,6 +90,7 @@ mic_translate = gr.Interface(
90
  outputs=gr.Audio(label="Generated Speech", type="numpy"),
91
  title=title,
92
  description=description,
 
93
  )
94
 
95
  file_translate = gr.Interface(
@@ -99,6 +100,7 @@ file_translate = gr.Interface(
99
  examples=[["./example.wav"]],
100
  title=title,
101
  description=description,
 
102
  )
103
 
104
  with demo:
 
90
  outputs=gr.Audio(label="Generated Speech", type="numpy"),
91
  title=title,
92
  description=description,
93
+ api_name='predict',
94
  )
95
 
96
  file_translate = gr.Interface(
 
100
  examples=[["./example.wav"]],
101
  title=title,
102
  description=description,
103
+ api_name='predict_upload',
104
  )
105
 
106
  with demo: