Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import torch
|
|
|
|
| 3 |
import os
|
| 4 |
from transformers import SpeechT5Processor, SpeechT5ForTextToSpeech, SpeechT5HifiGan
|
| 5 |
from datasets import load_dataset, Audio
|
|
@@ -122,4 +123,4 @@ iface = gr.Interface(
|
|
| 122 |
description="Enter hindi text to convert to speech"
|
| 123 |
)
|
| 124 |
|
| 125 |
-
iface.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import torch
|
| 3 |
+
import python_multipart
|
| 4 |
import os
|
| 5 |
from transformers import SpeechT5Processor, SpeechT5ForTextToSpeech, SpeechT5HifiGan
|
| 6 |
from datasets import load_dataset, Audio
|
|
|
|
| 123 |
description="Enter hindi text to convert to speech"
|
| 124 |
)
|
| 125 |
|
| 126 |
+
iface.launch(share=True)
|