Spaces:
Sleeping
Sleeping
save
Browse files- __pycache__/gui_helper.cpython-312.pyc +0 -0
- app.py +1 -8
- gui_helper.py +0 -2
__pycache__/gui_helper.cpython-312.pyc
ADDED
Binary file (3.47 kB). View file
|
|
app.py
CHANGED
@@ -1,19 +1,12 @@
|
|
1 |
-
# app.py (Your main Streamlit app)
|
2 |
-
|
3 |
-
import os
|
4 |
import streamlit as st
|
5 |
-
from openai import OpenAI
|
6 |
from gui_helper import GUIHelper # Import the GUIHelper class
|
7 |
|
8 |
-
|
9 |
-
# Check if the API key is available
|
10 |
-
|
11 |
# Initialize the GUIHelper
|
12 |
gui_helper = GUIHelper()
|
13 |
|
14 |
def main():
|
15 |
st.title("Reusable GUI using Streamlit")
|
16 |
-
st.write("Import the library and
|
17 |
|
18 |
# Tabs for intuitive navigation
|
19 |
tab1, tab2, tab3, tab4 = st.tabs(["About", "Task Selection", "Conversation History", "Settings"])
|
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
|
|
2 |
from gui_helper import GUIHelper # Import the GUIHelper class
|
3 |
|
|
|
|
|
|
|
4 |
# Initialize the GUIHelper
|
5 |
gui_helper = GUIHelper()
|
6 |
|
7 |
def main():
|
8 |
st.title("Reusable GUI using Streamlit")
|
9 |
+
st.write("Import the library and customize the tabs.")
|
10 |
|
11 |
# Tabs for intuitive navigation
|
12 |
tab1, tab2, tab3, tab4 = st.tabs(["About", "Task Selection", "Conversation History", "Settings"])
|
gui_helper.py
CHANGED
@@ -1,5 +1,3 @@
|
|
1 |
-
# gui_helper.py
|
2 |
-
|
3 |
import streamlit as st
|
4 |
|
5 |
class GUIHelper:
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
class GUIHelper:
|