Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	| import gradio as gr | |
| from gradio.mix import Parallel | |
| description = 'Dialogue summarization models' | |
| title = 'Comparing different dialogue summarization models' | |
| model1 = gr.Interface.load("huggingface/philschmid/bart-large-cnn-samsum", | |
| title = 'BART-Large-cnn-samsum' | |
| ) | |
| model2 = gr.Interface.load("huggingface/anegi/t5smallmodel", | |
| title = 'T5-small model', | |
| ) | |
| Parallel(model1, model2 , | |
| title = title, | |
| inputs = gr.inputs.Textbox(lines = 7, label = 'Input Text', placeholder = 'Please enter your dialogue text here'), | |
| theme = 'dark-peach' ).launch() | |