Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -4,5 +4,5 @@ text_to_speech = pipeline('image-classification')
|
|
4 |
input_img = 'abc.jpeg'
|
5 |
def text_to_speech(input_img):
|
6 |
return text_to_speech(input_img).wav
|
7 |
-
interface = gr.Interface(text_to_speech, gr.Image(
|
8 |
interface.launch()
|
|
|
4 |
input_img = 'abc.jpeg'
|
5 |
def text_to_speech(input_img):
|
6 |
return text_to_speech(input_img).wav
|
7 |
+
interface = gr.Interface(text_to_speech, gr.Image(), "audio", theme='dark')
|
8 |
interface.launch()
|