Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,4 @@
|
|
1 |
|
2 |
-
'''
|
3 |
-
This script calls the model from openai api to predict the next few words in a conversation.
|
4 |
-
'''
|
5 |
-
import os
|
6 |
-
from pprint import pprint
|
7 |
-
import sys
|
8 |
'''
|
9 |
This script calls the model from openai api to predict the next few words in a conversation.
|
10 |
'''
|
@@ -12,7 +6,7 @@ import os
|
|
12 |
import sys
|
13 |
import openai
|
14 |
import gradio as gr
|
15 |
-
os.system("pip install git+https://github.com/openai/whisper.git")
|
16 |
import whisper
|
17 |
from transformers import pipeline
|
18 |
import torch
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
'''
|
3 |
This script calls the model from openai api to predict the next few words in a conversation.
|
4 |
'''
|
|
|
6 |
import sys
|
7 |
import openai
|
8 |
import gradio as gr
|
9 |
+
#os.system("pip install git+https://github.com/openai/whisper.git")
|
10 |
import whisper
|
11 |
from transformers import pipeline
|
12 |
import torch
|