taskswithcode commited on
Commit
665c85a
·
1 Parent(s): 43c1ffb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -131,13 +131,10 @@ def inference(img,unique_only):
131
 
132
 
133
  with gr.Blocks() as demo:
134
- gr.Markdown("<div style=\"font-size:16; color: #2f2f2f; text-align: center\"># Detic for ChatGPT</div> <i>")
135
  gr.Markdown("<div style=\"font-size:12; color: #6f6f6f; text-align: center\"><i>A duplicated tweak of <a href=\"https://huggingface.co/spaces/taesiri/DeticChatGPT\">taesiri's Dectic/ChatGPT demo</a></i>")
136
- gr.Markdown("Use Detic to detect objects in an image and then copy/paste into ChatGPT playground to describe the image.")
137
 
138
- #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>")
139
- #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>")
140
-
141
  with gr.Column():
142
  inp = gr.Image(label="Input Image", type="filepath")
143
  chk = gr.Checkbox(label="Unique Object only?")
 
131
 
132
 
133
  with gr.Blocks() as demo:
134
+ gr.Markdown("<div style=\"font-size:22; color: #2f2f2f; text-align: center\"><b>Detic for ChatGPT</b></div> <i>")
135
  gr.Markdown("<div style=\"font-size:12; color: #6f6f6f; text-align: center\"><i>A duplicated tweak of <a href=\"https://huggingface.co/spaces/taesiri/DeticChatGPT\">taesiri's Dectic/ChatGPT demo</a></i>")
136
+ gr.Markdown("Use Detic to detect objects in an image and then copy/paste output text into your ChatGPT playground.")
137
 
 
 
 
138
  with gr.Column():
139
  inp = gr.Image(label="Input Image", type="filepath")
140
  chk = gr.Checkbox(label="Unique Object only?")