Spaces:
Runtime error
Runtime error
File size: 619 Bytes
48fc275 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
"""Application entry point, global configuration, application structure"""
from config import app_config
import utils
import tab_about
import tab_paraphraser
import streamlit as st
import os
def init():
"""setup app-wide configuration and download data only once"""
utils.setup_app(app_config)
### Download model/data
### setup app tab structure
about, paraphraser = utils.create_tabs(["ABOUT π", "TEXT PARAPHRASER βοΈ"])
with about:
tab_about.render()
with paraphraser:
tab_paraphraser.render()
### Application entry point
if __name__ == "__main__":
init()
|