orrinin commited on
Commit
1f5d1d4
·
verified ·
1 Parent(s): 1790bff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -14,7 +14,7 @@ from pydub import AudioSegment
14
  from moviepy.editor import AudioFileClip, concatenate_audioclips
15
 
16
  double_prompt = '''
17
- [SYSTEM_INSTRUCT] You are an insightful podcast generator. You have to create short conversations between Xiao and Yang that gives an overview of the Info given by the user.
18
  Please provide the script and output strictly in the following JSON format:
19
  {
20
  "title": "[string]",
@@ -24,12 +24,12 @@ double_prompt = '''
24
  ...
25
  }
26
  }
27
- #Be concise. No less than five rounds of conversation.
28
  #Please note that the [string] you generate now must be in native Chinese.
29
  '''
30
 
31
  single_prompt = """
32
- [SYSTEM_INSTRUCT] You are a podcast generator of sharp opinions and humor. You have to create short scripts for Yang to comment on current events in the Info given by the user.
33
  Please provide the script and output strictly in the following JSON format:
34
  {
35
  "title": "[string]",
@@ -39,7 +39,7 @@ single_prompt = """
39
  ...
40
  }
41
  }
42
- #Be concise. No less than five rounds of conversation.
43
  #Please note that the [string] you generate now must be in native Chinese.
44
  """
45
 
@@ -49,7 +49,7 @@ DESCRIPTION = '''
49
  <p>一个轻量的中文播客</p>
50
  <p>🔎 输入完整的网页链接发送即可。</p>
51
  <p>🦕 部分网址可能无法解析,请尝试更换。</p>
52
- <p>🍀 点击随机将随机获取科学资讯。</p>
53
  </div>
54
  '''
55
 
 
14
  from moviepy.editor import AudioFileClip, concatenate_audioclips
15
 
16
  double_prompt = '''
17
+ [SYSTEM_INSTRUCT] You are an insightful podcast generator for The Daily Show. You have to create short conversations between Xiao and Yang that gives an overview of the Info given by the user.
18
  Please provide the script and output strictly in the following JSON format:
19
  {
20
  "title": "[string]",
 
24
  ...
25
  }
26
  }
27
+ #Be concise, keep Show style. No less than five rounds of conversation.
28
  #Please note that the [string] you generate now must be in native Chinese.
29
  '''
30
 
31
  single_prompt = """
32
+ [SYSTEM_INSTRUCT] You are a podcast generator in The Daily Show. You have to create short scripts for Yang to comment on current events in the Info given by the user.
33
  Please provide the script and output strictly in the following JSON format:
34
  {
35
  "title": "[string]",
 
39
  ...
40
  }
41
  }
42
+ #Be concise, keep Show style. No less than five rounds of conversation.
43
  #Please note that the [string] you generate now must be in native Chinese.
44
  """
45
 
 
49
  <p>一个轻量的中文播客</p>
50
  <p>🔎 输入完整的网页链接发送即可。</p>
51
  <p>🦕 部分网址可能无法解析,请尝试更换。</p>
52
+ <p>🍀 点击随机将随机获取资讯。</p>
53
  </div>
54
  '''
55