taesiri commited on
Commit
d7d0980
1 Parent(s): 85d4eb3
Files changed (2) hide show
  1. README.md +2 -2
  2. app.py +3 -3
README.md CHANGED
@@ -1,11 +1,11 @@
1
  ---
2
- title: Detic+ChatGPT
3
  emoji: 👀
4
  colorFrom: blue
5
  colorTo: red
6
  sdk: gradio
7
  app_file: app.py
8
- pinned: false
9
  duplicated_from: akhaliq/Detic
10
  ---
11
 
 
1
  ---
2
+ title: Detic + ChatGPT
3
  emoji: 👀
4
  colorFrom: blue
5
  colorTo: red
6
  sdk: gradio
7
  app_file: app.py
8
+ pinned: true
9
  duplicated_from: akhaliq/Detic
10
  ---
11
 
app.py CHANGED
@@ -140,13 +140,13 @@ def inference(img, vocabulary):
140
 
141
  # create a gradio block for image classification
142
  with gr.Blocks() as demo:
143
- gr.Markdown("# Detic+ChatGPT")
 
144
  gr.Markdown(
145
  "Use Detic to detect objects in an image and then use ChatGPT to describe the image."
146
  )
147
-
148
  gr.HTML(
149
- "<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>"
150
  )
151
  gr.HTML(
152
  "<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
  # create a gradio block for image classification
142
  with gr.Blocks() as demo:
143
+ gr.Markdown("# Detic + ChatGPT")
144
+ gr.Markdown("### New DEMO using LangChain: [Image Captioning using LangChain (GPT3.5) 🦜️🔗](https://huggingface.co/spaces/taesiri/Langchain-Imagecaptioner)")
145
  gr.Markdown(
146
  "Use Detic to detect objects in an image and then use ChatGPT to describe the image."
147
  )
 
148
  gr.HTML(
149
+ "<p>You need to 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>"
150
  )
151
  gr.HTML(
152
  "<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>"