Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,18 +1,3 @@
|
|
1 |
-
# -*- coding: utf-8 -*-
|
2 |
-
"""【3種用】gradio_whisper_音声入力.ipynb
|
3 |
-
|
4 |
-
Automatically generated by Colaboratory.
|
5 |
-
|
6 |
-
Original file is located at
|
7 |
-
https://colab.research.google.com/drive/1MgpRKQUjqD5PFRRMte8UZd99YBR969Cw
|
8 |
-
"""
|
9 |
-
|
10 |
-
# !pip install gradio==4.0.2
|
11 |
-
!pip install gradio
|
12 |
-
!pip install openai
|
13 |
-
|
14 |
-
pip show gradio
|
15 |
-
|
16 |
import gradio as gr
|
17 |
from openai import OpenAI
|
18 |
import os
|
@@ -179,4 +164,4 @@ with gr.Blocks() as demo:
|
|
179 |
gr.Markdown("※翻訳機能はマイク入力の精度が低いです。ファイルでの入力をおすすめします。")
|
180 |
|
181 |
demo.queue()
|
182 |
-
demo.launch(debug=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
from openai import OpenAI
|
3 |
import os
|
|
|
164 |
gr.Markdown("※翻訳機能はマイク入力の精度が低いです。ファイルでの入力をおすすめします。")
|
165 |
|
166 |
demo.queue()
|
167 |
+
demo.launch(debug=False)
|