Spaces:
Runtime error
Runtime error
import gradio as gr | |
from gradio.mix import Series | |
summarization = gr.Interface.load("models/ieuniversity/pangea_summarization_model") | |
translation = gr.Interface.load("models/ieuniversity/pangea_translation_model") | |
demo = Series(summarization, translation, | |
title='PANGEA', | |
description='Pangea is a space that allows you to enter a English news article in text format and receive its traslated summary in Turkish!', | |
inputs=gr.inputs.Textbox(lines = 5, label="Copy and paste a news article in English here!"), | |
theme='gstaff/sketch') | |
if __name__ == "__main__": | |
demo.launch() | |