Spaces:
Runtime error
Runtime error
| from turtle import onclick | |
| import streamlit as st | |
| def reset(): | |
| st.write("Reset clicked!") | |
| memory = st.text_area( | |
| label="Edits applied", | |
| value="Who is the UK PM? Boris Johnson\nWhat team does Messi play for? PSG", | |
| help="The are the edits that have been applied to the original model.", | |
| disabled=True) | |
| reset = st.button("Reset edits", on_click=reset) | |
| edit_input = st.text_input("Edit input", placeholder="e.g., 'What is the tallest mountain on Earth?'") | |
| edit_label = st.text_input("Edit label", placeholder="e.g., 'Denali'", help="The desired output of the model for the edit input") |