tangibleAI / app.py
Rahul Dubey
modified: app.py
3d87114
raw
history blame contribute delete
618 Bytes
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)