import gradio as gr | |
from complete_poem import complete_poem_interface | |
from generate_poem import generate_poem_interface | |
gr_interface = gr.TabbedInterface( | |
interface_list=[complete_poem_interface, generate_poem_interface], | |
tab_names=["Hoàn thiện bài thơ", "Sinh thơ thần kỳ"], | |
title="Thơ AI", | |
) | |
gr_interface.launch() | |