Spaces:
Runtime error
Runtime error
Update app.py
Browse files18 unmodified lines1920212223242526272829303132333435345 unmodified lines38138238338418 unmodified linesUNDERSTAND_TEST_RESULTS,COMPRESS_HISTORY,LOG_PROMPT,LOG_RESPONSE)import importlibimport sysdef initialize_global_variables():global HUGGING_FACE_REPO_URL, PROJECT_ROOT, AGENT_DIRECTORYHUGGING_FACE_REPO_URL = "https://huggingface.co/spaces/acecalisto3/CodeMixt"PROJECT_ROOT = "projects"AGENT_DIRECTORY = "agents"initialize_global_variables()345 unmodified lineschat_button.click(run_chat, inputs=[chat_input, chat_history], outputs=[chat_history, terminal_output])terminal_button.click(run_terminal_command, inputs=[terminal_input, terminal_output], outputs=[terminal_output])iface.launch()18 unmodified lines1920212223242526272829303132333435345 unmodified lines38138238338418 unmodified linesUNDERSTAND_TEST_RESULTS,COMPRESS_HISTORY,LOG_PROMPT,LOG_RESPONSE,)import importlibimport sysdef initialize_global_variables():global HUGGING_FACE_REPO_URL, PROJECT_ROOT, AGENT_DIRECTORY, GRADIO_SERVER_PORTHUGGING_FACE_REPO_URL = "https://huggingface.co/spaces/acecalisto3/CodeMixt"PROJECT_ROOT = "projects"AGENT_DIRECTORY = "agents"GRADIO_SERVER_PORT = 7860 # Choose a consistently unused portinitialize_global_variables()345 unmodified lineschat_button.click(run_chat, inputs=[chat_input, chat_history], outputs=[chat_history, terminal_output])terminal_button.click(run_terminal_command, inputs=[terminal_input, terminal_output], outputs=[terminal_output])iface.launch(server_port=GRADIO_SERVER_PORT)
app.py+4-4