Spaces:
Build error
Build error
Update app.py
Browse files82 unmodified lines83848586878825 unmodified lines11411511611711811912011 unmodified lines13213313413513613713882 unmodified linesprint(f'history: {conversation}')local_namespace = {}exec(tools, globals(), local_namespace)function_params = local_namespace.get('function_params', {})25 unmodified linestools_schema = """function_params = {"name": "get_current_weather","description": "Get the current weather","parameters": {11 unmodified lines},"required": ["location", "format"],},}"""chatbot = gr.Chatbot(height = 600, placeholder = PLACEHOLDER)with gr.Blocks(theme="citrus", css=CSS) as demo:82 unmodified lines8384858687888925 unmodified lines11511611711811912012111 unmodified lines13313413513613713813982 unmodified linesprint(f'history: {conversation}')tools = f'function_params = {{{tools}}}'local_namespace = {}exec(tools, globals(), local_namespace)function_params = local_namespace.get('function_params', {})25 unmodified linestools_schema = """"name": "get_current_weather","description": "Get the current weather","parameters": {11 unmodified lines},"required": ["location", "format"],},"""chatbot = gr.Chatbot(height = 600, placeholder = PLACEHOLDER)with gr.Blocks(theme="citrus", css=CSS) as demo:
app.py+3-2