Download app.py from phamson02/tho_ai: direct link, hf CLI and curl.
- Browser
- Download file 341 Bytes
-
https://huggingface.co/spaces/phamson02/tho_ai/resolve/main/app.py
- Command line
-
hf download hf://spaces/phamson02/tho_ai/app.py
-
curl -L -o app.py https://huggingface.co/spaces/phamson02/tho_ai/resolve/main/app.py
341 Bytes
| 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() | |