Update app.py
Browse files146 unmodified lines147148149150150151152153316 unmodified lines47047147247347347447547612 unmodified lines489490491492492493494495496497498498499500501502503504504505506507146 unmodified lines""", },################# SUMMARY ################## "short 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 lines label="Instruction Template", choices=list(INSTRUCTION_TEMPLATES.keys()), value="podcast", info="Select the instruction template to use.", 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 lines label="Scratch Pad Instructions", lines=15, value=INSTRUCTION_TEMPLATES["podcast"]["scratch_pad"], info="Provide the scratch pad instructions for brainstorming dialogue content.", 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 dialog instructions.", 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 podcast dialogue.", info="Provide the instructions for generating the presentation or podcast dialogue.", ) audio_output = gr.Audio(label="Audio", format="mp3")app.py+5-5