Spaces:
Sleeping
Sleeping
SantiagoTesla
commited on
Commit
•
2981fb2
1
Parent(s):
0991fdd
Update app.py
Browse files
app.py
CHANGED
@@ -37,14 +37,6 @@ def transcribe(audio, text):
|
|
37 |
else:
|
38 |
s = text
|
39 |
|
40 |
-
response = openai.Completion.create(
|
41 |
-
engine="text-davinci-002",
|
42 |
-
prompt=s,
|
43 |
-
max_tokens=60,
|
44 |
-
n=1,
|
45 |
-
stop=None,
|
46 |
-
temperature=0.5,
|
47 |
-
)
|
48 |
|
49 |
out_result = chatgpt_api(s)
|
50 |
|
|
|
37 |
else:
|
38 |
s = text
|
39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
|
41 |
out_result = chatgpt_api(s)
|
42 |
|