CoolFace
Apppublic

md-vasim/llama-2-hf

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes
grutils.py27 linesDownload Raw Back to src
1import os 2import gradio as gr 3from src.chains import build_chain4import langchain5 6css = """7    footer {visibility: hidden}8    """9 10js = """ 11    """12 13 14class Agent:15    def __init__(self):16        self.agent = None 17        self.data = None 18 19agent = Agent()20agent.agent = build_chain()21 22def answer_query(message, history):23    message = agent.agent.run(message)24    return message25 26 27