Spaces:
Running
on
Zero
Running
on
Zero
dfdaf
Browse files
controllers/gra_02_openInterpreter/OpenInterpreter.py
CHANGED
@@ -180,7 +180,7 @@ chatbot = gr.Chatbot(height=450, placeholder=PLACEHOLDER, label="Gradio ChatInte
|
|
180 |
|
181 |
|
182 |
|
183 |
-
|
184 |
fn=chat_with_interpreter,
|
185 |
chatbot=chatbot,
|
186 |
fill_height=True,
|
|
|
180 |
|
181 |
|
182 |
|
183 |
+
gradio_interface = gr.ChatInterface(
|
184 |
fn=chat_with_interpreter,
|
185 |
chatbot=chatbot,
|
186 |
fill_height=True,
|
mysite/routers/gradio.py
CHANGED
@@ -14,7 +14,7 @@ def include_gradio_interfaces():
|
|
14 |
gradio_interfaces = []
|
15 |
gradio_names = set()
|
16 |
|
17 |
-
for module_info in pkgutil.walk_packages([package_dir], "
|
18 |
sub_module_name = module_info.name
|
19 |
try:
|
20 |
print(f"Trying to import {sub_module_name}")
|
|
|
14 |
gradio_interfaces = []
|
15 |
gradio_names = set()
|
16 |
|
17 |
+
for module_info in pkgutil.walk_packages([package_dir], "controllers."):
|
18 |
sub_module_name = module_info.name
|
19 |
try:
|
20 |
print(f"Trying to import {sub_module_name}")
|