Spaces:
Sleeping
Sleeping
acecalisto3
commited on
Commit
•
daaef82
1
Parent(s):
f62df8d
Update app.py
Browse files
app.py
CHANGED
@@ -126,7 +126,7 @@ def start(huggingface_key, ai_name, ai_role, top_5_goals, description):
|
|
126 |
"""Start AutoAPI and infer tasks."""
|
127 |
try:
|
128 |
from api import AutoAPI
|
129 |
-
auto_api = AutoAPI(huggingface_key, ai_name,
|
130 |
logger.info("AutoAPI started with AI Name: %s, AI Role: %s", ai_name, ai_role)
|
131 |
|
132 |
# Infer tasks based on the role and description
|
|
|
126 |
"""Start AutoAPI and infer tasks."""
|
127 |
try:
|
128 |
from api import AutoAPI
|
129 |
+
auto_api = AutoAPI(huggingface_key, ai_name, ai_name, ai_role, top_5_goals)
|
130 |
logger.info("AutoAPI started with AI Name: %s, AI Role: %s", ai_name, ai_role)
|
131 |
|
132 |
# Infer tasks based on the role and description
|