Spaces:
Runtime error
Runtime error
from abc import ABC, abstractmethod | |
class User(ABC): | |
"""Base class for interface to user""" | |
def interact(relevant_history: str, entries: dict, observation: str) -> str: | |
pass | |
def indent_text(s, n): | |
return "\n".join(" "*n + line for line in s.split("\n")) | |