Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,15 +1,3 @@
|
|
1 |
-
# -*- coding: utf-8 -*-
|
2 |
-
"""【3種用】TTS.ipynb
|
3 |
-
|
4 |
-
Automatically generated by Colaboratory.
|
5 |
-
|
6 |
-
Original file is located at
|
7 |
-
https://colab.research.google.com/drive/1Qybq46gufuZ0ykmXzSsc5EGfEN5Ucm3Z
|
8 |
-
"""
|
9 |
-
|
10 |
-
!pip install gradio==4.0.2
|
11 |
-
!pip install openai
|
12 |
-
|
13 |
import gradio as gr
|
14 |
from openai import OpenAI
|
15 |
import os
|
@@ -186,4 +174,4 @@ with gr.Blocks() as demo:
|
|
186 |
btn_shimmer.click(lambda:"voice_sample/shimmer.mp3", None, sample_voice)
|
187 |
|
188 |
demo.queue()
|
189 |
-
demo.launch(debug=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
from openai import OpenAI
|
3 |
import os
|
|
|
174 |
btn_shimmer.click(lambda:"voice_sample/shimmer.mp3", None, sample_voice)
|
175 |
|
176 |
demo.queue()
|
177 |
+
demo.launch(debug=False)
|