Spaces:
Paused
Paused
added description to add session_token
Browse files
app.py
CHANGED
@@ -143,6 +143,9 @@ def inference(img):
|
|
143 |
|
144 |
with gr.Blocks() as demo:
|
145 |
gr.Markdown("# Detic+ChatGPT")
|
|
|
|
|
|
|
146 |
with gr.Column():
|
147 |
inp = gr.Image(label="Input Image", type="filepath")
|
148 |
btn_detic = gr.Button("Run Detic+ChatGPT")
|
|
|
143 |
|
144 |
with gr.Blocks() as demo:
|
145 |
gr.Markdown("# Detic+ChatGPT")
|
146 |
+
gr.HTML("<p>You can duplicating this space and use your own session token: <a style='display:inline-block' href='https://huggingface.co/spaces/yizhangliu/chatGPT?duplicate=true'><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></p>")
|
147 |
+
gr.HTML("<p> Instruction on how to get session token can be seen in video <a style='display:inline-block' href='https://www.youtube.com/watch?v=TdNSj_qgdFk'><font style='color:blue;weight:bold;'>here</font></a>. Add your session token by going to settings and add under secrets. </p>")
|
148 |
+
|
149 |
with gr.Column():
|
150 |
inp = gr.Image(label="Input Image", type="filepath")
|
151 |
btn_detic = gr.Button("Run Detic+ChatGPT")
|