RamAnanth1 commited on
Commit
67e29ff
·
1 Parent(s): 239d059

Add duplicate space badge

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -421,6 +421,7 @@ class ConversationBot:
421
  bot = ConversationBot()
422
  with gr.Blocks(css="#chatbot .overflow-y-auto{height:500px}") as demo:
423
  gr.Markdown("# Visual ChatGPT <p> Visual ChatGPT combines visual foundation models and ChatGPT to send,receive and process images during chatting</p><p>This demo currently only supports text, image captioning, image generation, visual question answering, edge detection on image and generating image conditioned on canny image using the diffusers implementation of ControlNet </p>")
 
424
  openai_api_key_input = gr.Textbox(type = "password", label = "Enter your OpenAI API key here")
425
  chatbot = gr.Chatbot(elem_id="chatbot", label="Visual ChatGPT")
426
  state = gr.State([])
 
421
  bot = ConversationBot()
422
  with gr.Blocks(css="#chatbot .overflow-y-auto{height:500px}") as demo:
423
  gr.Markdown("# Visual ChatGPT <p> Visual ChatGPT combines visual foundation models and ChatGPT to send,receive and process images during chatting</p><p>This demo currently only supports text, image captioning, image generation, visual question answering, edge detection on image and generating image conditioned on canny image using the diffusers implementation of ControlNet </p>")
424
+ gr.Markdown('<p> For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings. <a href="https://huggingface.co/spaces/RamAnanth1/visual-chatGPT?duplicate=true"><img style="display: inline; margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space" /></a></p>')
425
  openai_api_key_input = gr.Textbox(type = "password", label = "Enter your OpenAI API key here")
426
  chatbot = gr.Chatbot(elem_id="chatbot", label="Visual ChatGPT")
427
  state = gr.State([])