From 92126a0a32f49d64e42f4bf6f0277f927fcd5f8a Mon Sep 17 00:00:00 2001 From: Zhwt <greatzhwt@gmail.com> Date: Tue, 18 Apr 2023 17:22:28 +0800 Subject: [PATCH] fix wrong paper PDF link --- demo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo.py b/demo.py index 64f099a..b074ed2 100644 --- a/demo.py +++ b/demo.py @@ -95,7 +95,7 @@ def gradio_answer(chatbot, chat_state, img_list, num_beams, temperature): title = """<h1 align="center">Demo of MiniGPT-4</h1>""" description = """<h3>This is the demo of MiniGPT-4. Upload your images and start chatting!</h3>""" -article = """<p><a href='https://minigpt-4.github.io'><img src='https://img.shields.io/badge/Project-Page-Green'></a></p><p><a href='https://github.com/Vision-CAIR/MiniGPT-4'><img src='https://img.shields.io/badge/Github-Code-blue'></a></p><p><a href='https://github.com/TsuTikgiau/blip2-llm/blob/release_prepare/MiniGPT_4.pdf'><img src='https://img.shields.io/badge/Paper-PDF-red'></a></p> +article = """<p><a href='https://minigpt-4.github.io'><img src='https://img.shields.io/badge/Project-Page-Green'></a></p><p><a href='https://github.com/Vision-CAIR/MiniGPT-4'><img src='https://img.shields.io/badge/Github-Code-blue'></a></p><p><a href='https://raw.githubusercontent.com/Vision-CAIR/MiniGPT-4/main/MiniGPT_4.pdf'><img src='https://img.shields.io/badge/Paper-PDF-red'></a></p> """ #TODO show examples below @@ -142,4 +142,4 @@ with gr.Blocks() as demo: ) clear.click(gradio_reset, [chat_state, img_list], [chatbot, image, text_input, upload_button, chat_state, img_list], queue=False) -demo.launch(share=True, enable_queue=True) \ No newline at end of file +demo.launch(share=True, enable_queue=True)