Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
gradio + server
Browse files
README.md
CHANGED
@@ -5,7 +5,7 @@ colorFrom: gray
|
|
5 |
colorTo: gray
|
6 |
sdk: gradio
|
7 |
python_version: 3.9
|
8 |
-
app_file:
|
9 |
tags:
|
10 |
- tts
|
11 |
- t2s
|
|
|
5 |
colorTo: gray
|
6 |
sdk: gradio
|
7 |
python_version: 3.9
|
8 |
+
app_file: app.py
|
9 |
tags:
|
10 |
- tts
|
11 |
- t2s
|
app.py
CHANGED
@@ -1 +1,20 @@
|
|
1 |
-
import
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import server as xvaserver
|
2 |
+
import gradio as gr
|
3 |
+
|
4 |
+
def predict(input):
|
5 |
+
return ''
|
6 |
+
|
7 |
+
input_textbox = gr.Textbox(
|
8 |
+
label="Input Text",
|
9 |
+
lines=1,
|
10 |
+
autofocus=True
|
11 |
+
)
|
12 |
+
|
13 |
+
gradio_app = gr.Interface(
|
14 |
+
predict,
|
15 |
+
input_textbox,
|
16 |
+
title="xVASynth",
|
17 |
+
)
|
18 |
+
|
19 |
+
if __name__ == "__main__":
|
20 |
+
gradio_app.launch()
|