File size: 716 Bytes
42c1e5a
 
 
 
 
 
 
 
 
 
 
 
2cbce40
42c1e5a
6e6fd3b
42c1e5a
ad0d335
42c1e5a
 
c79f760
 
 
42c1e5a
 
 
 
 
 
 
 
c79f760
42c1e5a
 
 
 
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
32
33
34
35
36
import streamlit as st
from streamlit_option_menu import option_menu
from page1 import text
from page2 import image
from page3 import details
from page4 import sdxl

def main():


    with st.sidebar:
        selection = option_menu(
        menu_title="ForgeStudio",
        options=["Home", "Vanilla Chat", "Chat with Image", "Image Creator"],
        icons=["house", "pencil", "chat", "image"],
        menu_icon="cast",
        default_index=0
        )

    if selection == "Home":
        details()
    elif selection == "Vanilla Chat":
        text()

    elif selection == "Chat with Image":
        image()

    elif selection == "Image Creator":
        sdxl()

   


if __name__ == '__main__':
    main()