Spaces:
Runtime error
Runtime error
Update title
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ from huggingface_hub import hf_hub_download
|
|
15 |
model_path = hf_hub_download(repo_id='maknee/minigpt4-13b-ggml', filename='minigpt4-13B-f16.bin', repo_type='dataset')
|
16 |
llm_model_path = hf_hub_download(repo_id='maknee/ggml-vicuna-v0-quantized', filename='ggml-vicuna-13B-v0-q5_k.bin', repo_type='dataset')
|
17 |
|
18 |
-
title = """<h1 align="center">
|
19 |
description = """<h3>This is the demo of MiniGPT-4 with ggml (cpu only!). Upload your images and start chatting!</h3>"""
|
20 |
article = """<div style='display:flex; gap: 0.25rem; '><a href='https://github.com/Vision-CAIR/MiniGPT-4'><img src='https://img.shields.io/badge/Github-Code-blue'></a></div>"""
|
21 |
|
@@ -104,4 +104,4 @@ def start():
|
|
104 |
demo.launch(enable_queue=True)
|
105 |
|
106 |
minigpt4_chatbot = minigpt4_library.MiniGPT4ChatBot(model_path, llm_model_path, verbosity=minigpt4_library.Verbosity.SILENT)
|
107 |
-
start()
|
|
|
15 |
model_path = hf_hub_download(repo_id='maknee/minigpt4-13b-ggml', filename='minigpt4-13B-f16.bin', repo_type='dataset')
|
16 |
llm_model_path = hf_hub_download(repo_id='maknee/ggml-vicuna-v0-quantized', filename='ggml-vicuna-13B-v0-q5_k.bin', repo_type='dataset')
|
17 |
|
18 |
+
title = """<h1 align="center">MiniGPT-4.cpp Demo</h1>"""
|
19 |
description = """<h3>This is the demo of MiniGPT-4 with ggml (cpu only!). Upload your images and start chatting!</h3>"""
|
20 |
article = """<div style='display:flex; gap: 0.25rem; '><a href='https://github.com/Vision-CAIR/MiniGPT-4'><img src='https://img.shields.io/badge/Github-Code-blue'></a></div>"""
|
21 |
|
|
|
104 |
demo.launch(enable_queue=True)
|
105 |
|
106 |
minigpt4_chatbot = minigpt4_library.MiniGPT4ChatBot(model_path, llm_model_path, verbosity=minigpt4_library.Verbosity.SILENT)
|
107 |
+
start()
|