Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -47,9 +47,12 @@ class Pypelyne:
|
|
47 |
def add_tool(self, tool: Tool):
|
48 |
self.tools.append(tool)
|
49 |
|
50 |
-
def
|
51 |
-
|
52 |
-
|
|
|
|
|
|
|
53 |
|
54 |
def run_gpt(
|
55 |
self,
|
|
|
47 |
def add_tool(self, tool: Tool):
|
48 |
self.tools.append(tool)
|
49 |
|
50 |
+
def launch_chatapp(project_path):
|
51 |
+
if st.button("Launch ChatApp"):
|
52 |
+
st.write("Launching ChatApp...")
|
53 |
+
os.chdir(project_path)
|
54 |
+
subprocess.run(["python", "app.py"])
|
55 |
+
st.write("ChatApp launched successfully!")
|
56 |
|
57 |
def run_gpt(
|
58 |
self,
|