mskov commited on
Commit
5a44683
·
1 Parent(s): 6140029

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -59,7 +59,7 @@ def inference(audio, state=""):
59
  print("result pre gp model from whisper: ", result, ".text ", result.text, "and the data type: ", type(result.text))
60
 
61
  PROMPT = """The following is an incomplete transcript of a brief conversation.
62
- Predict the next few words int he transcript to complete the sentence.
63
  A few examples of transcripts and predictions are provided below:
64
 
65
 
@@ -72,7 +72,7 @@ def inference(audio, state=""):
72
  Transcript: I need to buy a birthday
73
  Prediction: Present, Gift, Cake, Card
74
 
75
- Transcript:
76
  """
77
  text = PROMPT + result.text + "Prediction: "
78
 
 
59
  print("result pre gp model from whisper: ", result, ".text ", result.text, "and the data type: ", type(result.text))
60
 
61
  PROMPT = """The following is an incomplete transcript of a brief conversation.
62
+ Predict the next few words in the transcript to complete the sentence.
63
  A few examples of transcripts and predictions are provided below:
64
 
65
 
 
72
  Transcript: I need to buy a birthday
73
  Prediction: Present, Gift, Cake, Card
74
 
75
+ Incomplete transcript:
76
  """
77
  text = PROMPT + result.text + "Prediction: "
78