Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ from pydub import AudioSegment
|
|
15 |
from moviepy.editor import AudioFileClip, concatenate_audioclips
|
16 |
|
17 |
system_prompt = '''
|
18 |
-
You are
|
19 |
Please provide the script and output strictly in the following JSON format:
|
20 |
{
|
21 |
"title": "[string]",
|
@@ -25,8 +25,8 @@ system_prompt = '''
|
|
25 |
...
|
26 |
}
|
27 |
}
|
28 |
-
#Please note that the [string] you generate now must be in relaxed and natural Chinese.
|
29 |
#Be concise. No less than five rounds of conversation.
|
|
|
30 |
'''
|
31 |
|
32 |
DESCRIPTION = '''
|
@@ -52,7 +52,7 @@ footer {
|
|
52 |
}
|
53 |
"""
|
54 |
|
55 |
-
rss_feed = 'https://www.scmp.com/rss/
|
56 |
|
57 |
|
58 |
apikey = os.environ.get("API_KEY")
|
|
|
15 |
from moviepy.editor import AudioFileClip, concatenate_audioclips
|
16 |
|
17 |
system_prompt = '''
|
18 |
+
You are an insightful podcast generator. You have to create short conversations between Xiao and Yang that gives an overview of the News given by the user.
|
19 |
Please provide the script and output strictly in the following JSON format:
|
20 |
{
|
21 |
"title": "[string]",
|
|
|
25 |
...
|
26 |
}
|
27 |
}
|
|
|
28 |
#Be concise. No less than five rounds of conversation.
|
29 |
+
#Please note that the [string] you generate now must be in relaxed and natural Chinese.
|
30 |
'''
|
31 |
|
32 |
DESCRIPTION = '''
|
|
|
52 |
}
|
53 |
"""
|
54 |
|
55 |
+
rss_feed = 'https://www.scmp.com/rss/4/feed'
|
56 |
|
57 |
|
58 |
apikey = os.environ.get("API_KEY")
|