Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,25 +64,20 @@ def main():
|
|
| 64 |
|
| 65 |
print_default_prompt_templates(endpoint_url=uri)
|
| 66 |
|
| 67 |
-
sys.exit(0);
|
| 68 |
|
| 69 |
-
ui = ContentAgentUI(
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
|
| 77 |
-
)
|
| 78 |
-
ui.launch()
|
| 79 |
|
| 80 |
|
| 81 |
-
# Initialize and run the agent
|
| 82 |
-
#agent = initialize_agent(endpoint_uri)
|
| 83 |
-
# Create an instance of the ContentAgentUI class
|
| 84 |
-
#ui = ContentAgentUI()
|
| 85 |
-
#ui.pass_through_agent(agent) # Pass through the agent
|
| 86 |
|
| 87 |
|
| 88 |
if __name__ == "__main__":
|
|
|
|
| 64 |
|
| 65 |
print_default_prompt_templates(endpoint_url=uri)
|
| 66 |
|
| 67 |
+
# sys.exit(0);
|
| 68 |
|
| 69 |
+
#ui = ContentAgentUI(
|
| 70 |
+
# endpoint_uri=uri,
|
| 71 |
+
# is_healthy=ok,
|
| 72 |
+
# health_message=msg,
|
| 73 |
+
# agent_initializer=initialize_agent,
|
| 74 |
+
# agent_type = agent_type,
|
| 75 |
+
# compute = compute
|
| 76 |
|
| 77 |
+
#)
|
| 78 |
+
#ui.launch()
|
| 79 |
|
| 80 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
|
| 82 |
|
| 83 |
if __name__ == "__main__":
|