Pendrokar commited on
Commit
4ea5474
β€’
1 Parent(s): 19c8b95

gradio + server

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +20 -1
README.md CHANGED
@@ -5,7 +5,7 @@ colorFrom: gray
5
  colorTo: gray
6
  sdk: gradio
7
  python_version: 3.9
8
- app_file: server.py
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 gradio as gr
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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()