AhmadMustafa commited on
Commit
4533515
·
1 Parent(s): ef3f210

update: si prompt

Browse files
Files changed (1) hide show
  1. app.py +5 -7
app.py CHANGED
@@ -363,11 +363,10 @@ Return format:
363
 
364
  [Question Title]
365
  Total takes: [X] (Include ONLY if content appears more than once)
366
- Takes:
367
- x.1. [start_time - end_time]
368
- x.2. [start_time - end_time]
369
  ...
370
- x.X. [start_time - end_time]
371
  Best Answer: [start_time - end_time]({link_start}://{{origin}}/collab/{{cid}}/{{rsid}}?st={{start_time_in_sec}}&et={{end_time_in_sec}})
372
 
373
  URL formatting:
@@ -378,9 +377,8 @@ URL formatting:
378
  Example:
379
  1. Introduction
380
  Total takes: 2
381
- Takes:
382
- 1.1 [09:45 - 09:50]
383
- 1.2 [10:13 - 10:18]
384
  Best Answer: [10:13 - 10:18]({link_start}://roll.ai/colab/1234aq_12314/51234151?st=613&et=618)"""
385
  else:
386
  prompt = f"""Given the transcript {transcript}, For All the speakers, short list all people, news, events, trends, and source that are discussed by speakers along with the start time of that topic and end time of that topic from the transcript. Rank all topics based on what would make for the best social clips. I need atleast 3 topics per speaker.
 
363
 
364
  [Question Title]
365
  Total takes: [X] (Include ONLY if content appears more than once)
366
+ Take 1. start_time - end_time
367
+ Take 2. start_time - end_time
 
368
  ...
369
+ Take X. start_time - end_time
370
  Best Answer: [start_time - end_time]({link_start}://{{origin}}/collab/{{cid}}/{{rsid}}?st={{start_time_in_sec}}&et={{end_time_in_sec}})
371
 
372
  URL formatting:
 
377
  Example:
378
  1. Introduction
379
  Total takes: 2
380
+ Take 1. 09:45 - 09:50
381
+ Take 2. 10:13 - 10:18
 
382
  Best Answer: [10:13 - 10:18]({link_start}://roll.ai/colab/1234aq_12314/51234151?st=613&et=618)"""
383
  else:
384
  prompt = f"""Given the transcript {transcript}, For All the speakers, short list all people, news, events, trends, and source that are discussed by speakers along with the start time of that topic and end time of that topic from the transcript. Rank all topics based on what would make for the best social clips. I need atleast 3 topics per speaker.