import numpy as np import gradio as gr from components import * from actionFunctions import * def create_interface(): with gr.Blocks( theme=gr.themes.Monochrome(), css="footer{display:none !important};" ) as demo: gr.Markdown("Welcome to tangibleAI") #TEXT-TO-TEXT GENERATOR INTERFACE ttt_interface() #TEXT-TO-IMAGE GENERATOR INTERFACE tti_interface() #IMAGE-TO-TEXT GENERATOR INTERFACE itt_interface() return demo if __name__ == '__main__': demo = create_interface() demo.launch(share=True)