Spaces:
Runtime error
Runtime error
Update app.py
Browse files3 unmodified lines4567897 unmodified lines171819202122233 unmodified linesdescription = 'Dialogue summarization models'title = 'Comparing different dialogue summarization models'model1 = gr.Interface.load("huggingface/philschmid/bart-large-cnn-samsum",title = 'BART-Large-cnn-samsum'7 unmodified linesParallel(model1, model2 ,title = title,inputs = gr.inputs.Textbox(lines = 7, label = 'Input Text', placeholder = 'Please enter your dialogue text here'),theme = 'dark-peach' ).launch()3 unmodified lines4567891011121314157 unmodified lines23242526272829303 unmodified linesdescription = 'Dialogue summarization models'title = 'Comparing different dialogue summarization models'example = [['''A : Hello man. How are you?B: I'm good. How's your course going these days?A: Its going well. Pretty tiring byt overall fun.B: That's great to hear. Wanna grab a cup of coffee?A: Sure! I recently discovered a new cafe near my home.B: Awesome. Let's go.''']]model1 = gr.Interface.load("huggingface/philschmid/bart-large-cnn-samsum",title = 'BART-Large-cnn-samsum'7 unmodified linesParallel(model1, model2 ,title = title,inputs = gr.inputs.Textbox(lines = 7, label = 'Input Text', placeholder = 'Please enter your dialogue text here'),outputs= gr.outputs.Textbox(type="auto",label='Summary generated by the model'),example = example,theme = 'dark-peach' ).launch()
app.py+8-1