Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -60,16 +60,16 @@ def inference(audio, state=""):
|
|
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
|
64 |
|
65 |
Example Transcript1: Tomorrow night we're going out to
|
66 |
-
Example
|
67 |
Example Transcript2: I would like to order a cheeseburger with a side of
|
68 |
-
Example
|
69 |
Example Transcript3: My friend Savanah is
|
70 |
-
Example
|
71 |
Example Transcript4: I need to buy a birthday
|
72 |
-
Example
|
73 |
|
74 |
Incomplete Transcript: """
|
75 |
text = PROMPT + result.text + "Prediction: "
|
|
|
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 are provided below:
|
64 |
|
65 |
Example Transcript1: Tomorrow night we're going out to
|
66 |
+
Example Predictions1: The Movies, A Restaurant, A Baseball Game, The Theater, A Party for a friend
|
67 |
Example Transcript2: I would like to order a cheeseburger with a side of
|
68 |
+
Example Predictions2: French fries, Milkshake, Apple slices, Side salad, Extra katsup
|
69 |
Example Transcript3: My friend Savanah is
|
70 |
+
Example Predictions3: An elecrical engineer, A marine biologist, A classical musician
|
71 |
Example Transcript4: I need to buy a birthday
|
72 |
+
Example Predictions4: Present, Gift, Cake, Card
|
73 |
|
74 |
Incomplete Transcript: """
|
75 |
text = PROMPT + result.text + "Prediction: "
|