Update app.py
Browse files146 unmodified lines147148149150151152153316 unmodified lines47047147247347447547612 unmodified lines489490491492493494495496497498499500501502503504505506507146 unmodified lines""",},################# SUMMARY ##################"short summary": {"intro": """Your task is to develop a summary of a paper. You never mention your name.Don't worry about the formatting issues or any irrelevant information; your goal is to extract the key points, identify definitions, and interesting facts that need to be summarized.316 unmodified lineslabel="Instruction Template",choices=list(INSTRUCTION_TEMPLATES.keys()),value="podcast",info="Select the instruction template to use.",)intro_instructions = gr.Textbox(label="Intro Instructions",12 unmodified lineslabel="Scratch Pad Instructions",lines=15,value=INSTRUCTION_TEMPLATES["podcast"]["scratch_pad"],info="Provide the scratch pad instructions for brainstorming dialogue content.",)prelude_dialog = gr.Textbox(label="Prelude Dialog",lines=5,value=INSTRUCTION_TEMPLATES["podcast"]["prelude"],info="Provide the prelude dialog instructions.",)podcast_dialog_instructions = gr.Textbox(label="Podcast Dialog Instructions",lines=20,value=INSTRUCTION_TEMPLATES["podcast"]["dialog"],info="Provide the instructions for generating the podcast dialogue.",)audio_output = gr.Audio(label="Audio", format="mp3")146 unmodified lines147148149150151152153316 unmodified lines47047147247347447547612 unmodified lines489490491492493494495496497498499500501502503504505506507146 unmodified lines""",},################# SUMMARY ##################"summary": {"intro": """Your task is to develop a summary of a paper. You never mention your name.Don't worry about the formatting issues or any irrelevant information; your goal is to extract the key points, identify definitions, and interesting facts that need to be summarized.316 unmodified lineslabel="Instruction Template",choices=list(INSTRUCTION_TEMPLATES.keys()),value="podcast",info="Select the instruction template to use. You can also edit any of the fields for more tailored results.",)intro_instructions = gr.Textbox(label="Intro Instructions",12 unmodified lineslabel="Scratch Pad Instructions",lines=15,value=INSTRUCTION_TEMPLATES["podcast"]["scratch_pad"],info="Provide the scratch pad instructions for brainstorming presentation/dialogue content.",)prelude_dialog = gr.Textbox(label="Prelude Dialog",lines=5,value=INSTRUCTION_TEMPLATES["podcast"]["prelude"],info="Provide the prelude instructions before the presentation/dialogue is developed.",)podcast_dialog_instructions = gr.Textbox(label="Podcast Dialog Instructions",lines=20,value=INSTRUCTION_TEMPLATES["podcast"]["dialog"],info="Provide the instructions for generating the presentation or podcast dialogue.",)audio_output = gr.Audio(label="Audio", format="mp3")
app.py+5-5