Fix Gradio 6 theme/css launch args; valid unregistered example
Browse files432 unmodified lines43343443543643743843944044144244344444544644744844945045162 unmodified lines514515516517432 unmodified lines.gr-button-primary:hover { background: #E8C56D !important; }"""EXAMPLES = [["G5ebmUSBrh7UrdANmuU45EjETS8Qe1hvoCAziQ4TuJn3"], # Coder["5wNtysSW4VhntPCwK9jyppMz6UY9MtJSKgHp63LKYFq4"], # Lisa["FKwU1im523MSGnuJG6YLHEZu4rUGj3xqxHJ6ipQMBG9B"], # Aster["11111111111111111111111111111111111111111111"], # not registered (valid base58, 32 bytes of zeros)]with gr.Blocks(theme=gr.themes.Base(primary_hue=gr.themes.colors.yellow,neutral_hue=gr.themes.colors.stone,),css=CSS,title="ProofChain Agent Verifier",) as demo:with gr.Column(elem_id="col-container"):62 unmodified lines)if __name__ == "__main__":demo.launch(mcp_server=True)432 unmodified lines43343443543643743843944044144244344444544644744844945045162 unmodified lines514515516517432 unmodified lines.gr-button-primary:hover { background: #E8C56D !important; }"""THEME = gr.themes.Base(primary_hue=gr.themes.colors.yellow,neutral_hue=gr.themes.colors.stone,)EXAMPLES = [["G5ebmUSBrh7UrdANmuU45EjETS8Qe1hvoCAziQ4TuJn3"], # Coder["5wNtysSW4VhntPCwK9jyppMz6UY9MtJSKgHp63LKYFq4"], # Lisa["FKwU1im523MSGnuJG6YLHEZu4rUGj3xqxHJ6ipQMBG9B"], # Aster["6wLjXrGR93c3RYYXBfLhKWSQdsBu5253RukeUgJnYaoB"], # valid pubkey, not registered]with gr.Blocks(title="ProofChain Agent Verifier",) as demo:with gr.Column(elem_id="col-container"):62 unmodified lines)if __name__ == "__main__":demo.launch(mcp_server=True, theme=THEME, css=CSS)
app.py+7-7