Spaces:
Sleeping
Sleeping
Commit
•
abf4233
1
Parent(s):
e8e270b
Update app.py
Browse files
app.py
CHANGED
@@ -24,6 +24,7 @@ def call_api(transcript):
|
|
24 |
- Make Sure the Description is no more than 100 characters
|
25 |
- emphasize the importance of using the same language as the transcript in segment cards to ensure coherence and accuracy.
|
26 |
- use the same language for your answer as the transcript
|
|
|
27 |
|
28 |
|
29 |
CONTENT OF CARD:
|
@@ -39,7 +40,7 @@ def call_api(transcript):
|
|
39 |
result = client.predict(
|
40 |
prompt + transcript,
|
41 |
0.9,
|
42 |
-
|
43 |
api_name="/predict"
|
44 |
)
|
45 |
return result
|
|
|
24 |
- Make Sure the Description is no more than 100 characters
|
25 |
- emphasize the importance of using the same language as the transcript in segment cards to ensure coherence and accuracy.
|
26 |
- use the same language for your answer as the transcript
|
27 |
+
- Only Output 1 Segment Card for each Segment in the Transcription
|
28 |
|
29 |
|
30 |
CONTENT OF CARD:
|
|
|
40 |
result = client.predict(
|
41 |
prompt + transcript,
|
42 |
0.9,
|
43 |
+
2048,
|
44 |
api_name="/predict"
|
45 |
)
|
46 |
return result
|