Commit
·
fe4338b
1
Parent(s):
b898e07
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import os
|
|
|
2 |
os.system("pip install git+https://github.com/openai/whisper.git")
|
3 |
os.system("pip install pytube")
|
4 |
import whisper
|
@@ -59,4 +60,4 @@ with gr.Blocks() as demo:
|
|
59 |
|
60 |
result_button_transcribe.click(url_to_text, inputs = input_text_url, outputs = output_text_transcribe)
|
61 |
|
62 |
-
demo.queue(
|
|
|
1 |
import os
|
2 |
+
os.system("python -m pip install --upgrade pip")
|
3 |
os.system("pip install git+https://github.com/openai/whisper.git")
|
4 |
os.system("pip install pytube")
|
5 |
import whisper
|
|
|
60 |
|
61 |
result_button_transcribe.click(url_to_text, inputs = input_text_url, outputs = output_text_transcribe)
|
62 |
|
63 |
+
demo.queue().launch(debug = False)
|