Spaces:
Runtime error
Runtime error
Rename ForgeStudio.py to Copilot.py
Browse files
ForgeStudio.py → Copilot.py
RENAMED
@@ -2,24 +2,21 @@ import streamlit as st
|
|
2 |
from streamlit_option_menu import option_menu
|
3 |
from page1 import text
|
4 |
from page2 import image
|
5 |
-
from page3 import
|
6 |
-
from page4 import sdxl
|
7 |
|
8 |
def main():
|
9 |
|
10 |
|
11 |
with st.sidebar:
|
12 |
selection = option_menu(
|
13 |
-
menu_title="
|
14 |
options=["Home", "Vanilla Chat", "Chat with Image", "Image Creator"],
|
15 |
icons=["house", "pencil", "chat", "image"],
|
16 |
-
menu_icon="
|
17 |
default_index=0
|
18 |
)
|
19 |
|
20 |
-
if selection == "
|
21 |
-
details()
|
22 |
-
elif selection == "Vanilla Chat":
|
23 |
text()
|
24 |
|
25 |
elif selection == "Chat with Image":
|
|
|
2 |
from streamlit_option_menu import option_menu
|
3 |
from page1 import text
|
4 |
from page2 import image
|
5 |
+
from page3 import sdxl
|
|
|
6 |
|
7 |
def main():
|
8 |
|
9 |
|
10 |
with st.sidebar:
|
11 |
selection = option_menu(
|
12 |
+
menu_title="OpenCopilot",
|
13 |
options=["Home", "Vanilla Chat", "Chat with Image", "Image Creator"],
|
14 |
icons=["house", "pencil", "chat", "image"],
|
15 |
+
menu_icon="bing",
|
16 |
default_index=0
|
17 |
)
|
18 |
|
19 |
+
if selection == "Vanilla Chat":
|
|
|
|
|
20 |
text()
|
21 |
|
22 |
elif selection == "Chat with Image":
|