File size: 618 Bytes
463297f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3d87114
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
29
30
31
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)