CoolFace
Apppublic

Ai-Pro/ControlNet

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes
app.py14 linesDownload Raw Back to root
1import gradio as gr2 3title = "ControlNet"4description = "<p style='text-align:center;'>WELCOME</p>"5latest_updates = "<h2><center>Let's start ... <a href='https://shorturl.at/cdiKQ' target='_blank'>ControlNet</a></center></h2>"6duplicate_space = "<p><center>For faster inference without waiting in queue, you may duplicate the space. Ensure that the visibility is set to Public when duplicating. <a href='https://shorturl.at/cdiKQ'><img src='https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14' alt='Duplicate Space'></a></center></p>"7description += latest_updates + duplicate_space8 9 10def greet(Write):11    return "Go to https://shorturl.at/cdiKQ"12 13iface = gr.Interface(fn=greet, inputs="text", outputs="text", title=title, description=description)14iface.launch()