Spaces:
Sleeping
Sleeping
Commit
·
3d14ba9
1
Parent(s):
6033e6c
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,14 +1,9 @@
|
|
| 1 |
-
|
| 2 |
'''
|
| 3 |
This script calls the model from openai api to predict the next few words.
|
| 4 |
'''
|
| 5 |
import os
|
| 6 |
-
# os.system("pip install --upgrade pip")
|
| 7 |
from pprint import pprint
|
| 8 |
-
# os.system("pip install git+https://github.com/openai/whisper.git")
|
| 9 |
import sys
|
| 10 |
-
# print("Sys: ", sys.executable)
|
| 11 |
-
# os.system("pip install openai")
|
| 12 |
import openai
|
| 13 |
import gradio as gr
|
| 14 |
import whisper
|
|
|
|
|
|
|
| 1 |
'''
|
| 2 |
This script calls the model from openai api to predict the next few words.
|
| 3 |
'''
|
| 4 |
import os
|
|
|
|
| 5 |
from pprint import pprint
|
|
|
|
| 6 |
import sys
|
|
|
|
|
|
|
| 7 |
import openai
|
| 8 |
import gradio as gr
|
| 9 |
import whisper
|