Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
from typing import List, Dict, Optional
|
|
|
2 |
from types import (
|
3 |
Code,
|
4 |
Prompt,
|
@@ -13,21 +14,30 @@ from types import (
|
|
13 |
ReactApp,
|
14 |
Code,
|
15 |
)
|
|
|
16 |
from agent import Agent
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
from
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
|
32 |
class Agent:
|
33 |
def __init__(self, prompts: Dict[str, any]):
|
|
|
1 |
from typing import List, Dict, Optional
|
2 |
+
|
3 |
from types import (
|
4 |
Code,
|
5 |
Prompt,
|
|
|
14 |
ReactApp,
|
15 |
Code,
|
16 |
)
|
17 |
+
|
18 |
from agent import Agent
|
19 |
+
|
20 |
+
# Import the translated functions from the .py files
|
21 |
+
from alpine import alpine
|
22 |
+
from createLlamaPrompt import createLlamaPrompt
|
23 |
+
from createSpace import createSpace
|
24 |
+
from daisy import daisy
|
25 |
+
from docker import docker
|
26 |
+
from generateFiles import generateFiles
|
27 |
+
from getGradioApp import getGradioApp
|
28 |
+
from getReactApp import getReactApp
|
29 |
+
from getStreamlitApp import getStreamlitApp
|
30 |
+
from getWebApp import getWebApp
|
31 |
+
from gradioDoc import gradioDoc
|
32 |
+
from index import index
|
33 |
+
from isPythonOrGradioAppPrompt import isPythonOrGradioAppPrompt
|
34 |
+
from isReactAppPrompt import isReactAppPrompt
|
35 |
+
from isStreamlitAppPrompt import isStreamlitAppPrompt
|
36 |
+
from main import main
|
37 |
+
from parseTutorial import parseTutorial
|
38 |
+
from streamlitDoc import streamlitDoc
|
39 |
+
from types import AppType
|
40 |
+
from typescript import typescript
|
41 |
|
42 |
class Agent:
|
43 |
def __init__(self, prompts: Dict[str, any]):
|