Spaces:
Sleeping
Sleeping
tes
Browse files- controllers/{ai/.gpteng/memory/logs/chat/__init__.py β __init__.py} +0 -0
- controllers/{ai/.gpteng/memory/logs/all_output.txt β all_output.txt} +0 -0
- {mysite/gradio β controllers}/chat.py +0 -0
- controllers/{ai/.gpteng/memory/logs/chat β chat}/Chat.py +0 -0
- controllers/{ai/.gpteng/memory/logs/chats β chat}/__init__.py +0 -0
- controllers/{ai/.gpteng/memory/logs/chats β chats}/OpenInterpreter.py +0 -0
- controllers/{ai/.gpteng/memory/logs/postg β chats}/__init__.py +0 -0
- {mysite/gradio β controllers}/files.py +0 -0
- controllers/{ai/.gpteng/memory/logs/greet β greet}/greet.py +0 -0
- controllers/{ai/.gpteng/memory/logs/postg β postg}/.gpteng/memory/logs/all_output.txt +0 -0
- controllers/{ai/.gpteng/memory/logs/postg β postg}/.gpteng/memory/logs/gen_entrypoint_chat.txt +0 -0
- controllers/{ai/.gpteng/memory/logs/postg β postg}/DataBase.py +0 -0
- controllers/{ai/.gpteng/memory/logs/router β postg}/__init__.py +0 -0
- controllers/{ai/.gpteng/memory/logs/postg β postg}/database.py +0 -0
- controllers/{ai/.gpteng/memory/logs/postg β postg}/models/ride.py +0 -0
- controllers/{ai/.gpteng/memory/logs/postg β postg}/prompt +0 -0
- controllers/{ai/.gpteng/memory/logs/postg β postg}/requirements.txt +0 -0
- controllers/{ai/.gpteng/memory/logs/postg β postg}/run.sh +0 -0
- controllers/router/__init__.py +0 -0
- controllers/{ai/.gpteng/memory/logs/router β router}/router.py +0 -0
- controllers/{ai/.gpteng/memory/logs/test β test}/.gpteng/memory/logs/all_output.txt +0 -0
- controllers/{ai/.gpteng/memory/logs/test β test}/.gpteng/memory/logs/gen_entrypoint_chat.txt +0 -0
- mysite/asgi.py +1 -1
- mysite/gradio/gradio_config.py +2 -6
controllers/{ai/.gpteng/memory/logs/chat/__init__.py β __init__.py}
RENAMED
File without changes
|
controllers/{ai/.gpteng/memory/logs/all_output.txt β all_output.txt}
RENAMED
File without changes
|
{mysite/gradio β controllers}/chat.py
RENAMED
File without changes
|
controllers/{ai/.gpteng/memory/logs/chat β chat}/Chat.py
RENAMED
File without changes
|
controllers/{ai/.gpteng/memory/logs/chats β chat}/__init__.py
RENAMED
File without changes
|
controllers/{ai/.gpteng/memory/logs/chats β chats}/OpenInterpreter.py
RENAMED
File without changes
|
controllers/{ai/.gpteng/memory/logs/postg β chats}/__init__.py
RENAMED
File without changes
|
{mysite/gradio β controllers}/files.py
RENAMED
File without changes
|
controllers/{ai/.gpteng/memory/logs/greet β greet}/greet.py
RENAMED
File without changes
|
controllers/{ai/.gpteng/memory/logs/postg β postg}/.gpteng/memory/logs/all_output.txt
RENAMED
File without changes
|
controllers/{ai/.gpteng/memory/logs/postg β postg}/.gpteng/memory/logs/gen_entrypoint_chat.txt
RENAMED
File without changes
|
controllers/{ai/.gpteng/memory/logs/postg β postg}/DataBase.py
RENAMED
File without changes
|
controllers/{ai/.gpteng/memory/logs/router β postg}/__init__.py
RENAMED
File without changes
|
controllers/{ai/.gpteng/memory/logs/postg β postg}/database.py
RENAMED
File without changes
|
controllers/{ai/.gpteng/memory/logs/postg β postg}/models/ride.py
RENAMED
File without changes
|
controllers/{ai/.gpteng/memory/logs/postg β postg}/prompt
RENAMED
File without changes
|
controllers/{ai/.gpteng/memory/logs/postg β postg}/requirements.txt
RENAMED
File without changes
|
controllers/{ai/.gpteng/memory/logs/postg β postg}/run.sh
RENAMED
File without changes
|
controllers/router/__init__.py
ADDED
File without changes
|
controllers/{ai/.gpteng/memory/logs/router β router}/router.py
RENAMED
File without changes
|
controllers/{ai/.gpteng/memory/logs/test β test}/.gpteng/memory/logs/all_output.txt
RENAMED
File without changes
|
controllers/{ai/.gpteng/memory/logs/test β test}/.gpteng/memory/logs/gen_entrypoint_chat.txt
RENAMED
File without changes
|
mysite/asgi.py
CHANGED
@@ -7,7 +7,7 @@ from fastapi.templating import Jinja2Templates
|
|
7 |
from starlette.middleware.cors import CORSMiddleware
|
8 |
|
9 |
import gradio as gr
|
10 |
-
from
|
11 |
from mysite.webhook.webhook import setup_webhook_routes,include_routers
|
12 |
from mysite.database.database import setup_database_routes
|
13 |
from mysite.config.asgi_config import init_django_app
|
|
|
7 |
from starlette.middleware.cors import CORSMiddleware
|
8 |
|
9 |
import gradio as gr
|
10 |
+
from mysite.gradio.gradio_config import setup_gradio_interfaces
|
11 |
from mysite.webhook.webhook import setup_webhook_routes,include_routers
|
12 |
from mysite.database.database import setup_database_routes
|
13 |
from mysite.config.asgi_config import init_django_app
|
mysite/gradio/gradio_config.py
CHANGED
@@ -6,18 +6,14 @@ import mysite.interpreter.interpreter_config # γ€γ³γγΌγγγγ γγ§
|
|
6 |
import importlib
|
7 |
import os
|
8 |
import pkgutil
|
9 |
-
#from routers.chat.chat import demo44 as demo4
|
10 |
-
#
|
11 |
-
#from routers.postg.gradio_app import crud_interface
|
12 |
-
#from routers.chats.chats import gradio_interface
|
13 |
|
14 |
|
15 |
def include_gradio_interfaces():
|
16 |
-
package_dir = "/home/user/app/
|
17 |
gradio_interfaces = []
|
18 |
gradio_names = set()
|
19 |
|
20 |
-
for module_info in pkgutil.walk_packages([package_dir], "
|
21 |
sub_module_name = module_info.name
|
22 |
try:
|
23 |
print(f"Trying to import {sub_module_name}")
|
|
|
6 |
import importlib
|
7 |
import os
|
8 |
import pkgutil
|
|
|
|
|
|
|
|
|
9 |
|
10 |
|
11 |
def include_gradio_interfaces():
|
12 |
+
package_dir = "/home/user/app/controllers"
|
13 |
gradio_interfaces = []
|
14 |
gradio_names = set()
|
15 |
|
16 |
+
for module_info in pkgutil.walk_packages([package_dir], "controllers."):
|
17 |
sub_module_name = module_info.name
|
18 |
try:
|
19 |
print(f"Trying to import {sub_module_name}")
|