mskov commited on
Commit
f350d00
·
1 Parent(s): e1dedcd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -60,9 +60,9 @@ def inference(audio, prompt, model, temperature, latest):
60
  text = prompt + transcript + "\nPrediction: "
61
 
62
  response = openai.Completion.create(
63
- model=model,
64
- prompt=text,
65
- temperature=temperature,
66
  max_tokens=18,
67
  n=5)
68
 
 
60
  text = prompt + transcript + "\nPrediction: "
61
 
62
  response = openai.Completion.create(
63
+ model="text-davinci-003",
64
+ prompt=EXAMPLE_PROMPT,
65
+ temperature=0.8,
66
  max_tokens=18,
67
  n=5)
68