Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -29,8 +29,8 @@ from kimi_vl.serve.chat_utils import (
|
|
29 |
from kimi_vl.serve.inference import kimi_vl_generate, load_model
|
30 |
from kimi_vl.serve.examples import get_examples
|
31 |
|
32 |
-
TITLE = """<h1 align="left" style="min-width:200px; margin-top:0;">Chat with Kimi-VL-A3B-Thinking🤔 </h1>"""
|
33 |
-
DESCRIPTION_TOP = """<a href="https://github.com/MoonshotAI/Kimi-VL" target="_blank">Kimi-VL-A3B-Thinking</a> is a multi-modal LLM that can understand text and images, and generate text with thinking processes.
|
34 |
DESCRIPTION = """"""
|
35 |
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
36 |
DEPLOY_MODELS = dict()
|
@@ -39,7 +39,7 @@ logger = configure_logger()
|
|
39 |
|
40 |
def parse_args():
|
41 |
parser = argparse.ArgumentParser()
|
42 |
-
parser.add_argument("--model", type=str, default="Kimi-VL-A3B-Thinking")
|
43 |
parser.add_argument(
|
44 |
"--local-path",
|
45 |
type=str,
|
@@ -321,7 +321,7 @@ def build_demo(args: argparse.Namespace) -> gr.Blocks:
|
|
321 |
del_last_btn.click(delete_last_conversation, [chatbot, history], output_widgets, show_progress=True)
|
322 |
cancel_btn.click(cancel_outputing, [], [status_display], cancels=predict_events)
|
323 |
|
324 |
-
demo.title = "Kimi-VL-A3B-Thinking Chatbot"
|
325 |
return demo
|
326 |
|
327 |
|
|
|
29 |
from kimi_vl.serve.inference import kimi_vl_generate, load_model
|
30 |
from kimi_vl.serve.examples import get_examples
|
31 |
|
32 |
+
TITLE = """<h1 align="left" style="min-width:200px; margin-top:0;">Chat with Kimi-VL-A3B-Thinking-2506🤔 </h1>"""
|
33 |
+
DESCRIPTION_TOP = """<a href="https://github.com/MoonshotAI/Kimi-VL" target="_blank">Kimi-VL-A3B-Thinking-2506</a> is a multi-modal LLM that can understand text and images, and generate text with thinking processes. This is a backup legacy-version demo as the current main demo server is down."""
|
34 |
DESCRIPTION = """"""
|
35 |
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
36 |
DEPLOY_MODELS = dict()
|
|
|
39 |
|
40 |
def parse_args():
|
41 |
parser = argparse.ArgumentParser()
|
42 |
+
parser.add_argument("--model", type=str, default="Kimi-VL-A3B-Thinking-2506")
|
43 |
parser.add_argument(
|
44 |
"--local-path",
|
45 |
type=str,
|
|
|
321 |
del_last_btn.click(delete_last_conversation, [chatbot, history], output_widgets, show_progress=True)
|
322 |
cancel_btn.click(cancel_outputing, [], [status_display], cancels=predict_events)
|
323 |
|
324 |
+
demo.title = "Kimi-VL-A3B-Thinking-2506 Chatbot"
|
325 |
return demo
|
326 |
|
327 |
|