Spaces:
Sleeping
Sleeping
Sync from GitHub
Browse filesFiles changed (2)
3 unmodified lines45678970 unmodified lines808182833 unmodified linesfrom gradio import Textboxfrom .examples import example_dictdef _compile_extension():70 unmodified linesinputs=[usage_code, compile_path_st],outputs=[test_out])return ui3 unmodified lines4567891070 unmodified lines81828384858687883 unmodified linesfrom gradio import Textboxfrom .examples import example_dictfrom .prompts import footer_disclaimerdef _compile_extension():70 unmodified linesinputs=[usage_code, compile_path_st],outputs=[test_out])# Footer with disclaimer.with ui:Markdown(footer_disclaimer, elem_id="footer-disclaimer")return ui
65 unmodified lines66676869707165 unmodified lines{python_code}"""# Define function to create the messages for the LLM.def messages_for(python_code, module_name, schema, platform, compile_path):65 unmodified lines66676869707172737475767778798065 unmodified lines{python_code}"""# Define a footer disclaimer to be included in the interface.footer_disclaimer = """<div style='text-align: center; font-size: small;'>This chatbot is powered by generative AI technology.<br>While it strives to provide accurate information, it may occasionally make mistakes.Additionally, conversations and source codes may be used to improve AI models.</div>"""# Define function to create the messages for the LLM.def messages_for(python_code, module_name, schema, platform, compile_path):
src/interface.py+5
src/prompts.py+9