Spaces:
Runtime error
Runtime error
import gradio as gr | |
from gradio.mix import Parallel, Series | |
summarization = gr.Interface.load("models/ieuniversity/pangea_summarization_model") | |
translation = gr.Interface.load("models/ieuniversity/pangea_translation_model") | |
Series(summarization, translation,inputs=gr.inputs.Textbox(lines = 30,label="Copy a news article in English below!"),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 ",theme = "grass").launch() |