Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -474,6 +474,8 @@ def logging_down(video, state):
|
|
| 474 |
torch.set_float32_matmul_precision("high")
|
| 475 |
warnings.filterwarnings('ignore')
|
| 476 |
args = option.get_args_parser()
|
|
|
|
|
|
|
| 477 |
|
| 478 |
conv_mode = "llava_v1"
|
| 479 |
model_path = 'LanguageBind/Video-LLaVA-7B'
|
|
@@ -658,4 +660,4 @@ with gr.Blocks(title='MotionLLM', theme=gr.themes.Default(), css=block_css) as d
|
|
| 658 |
[image1, video, textbox, first_run, state, chatbot, images_tensor])
|
| 659 |
|
| 660 |
app = gr.mount_gradio_app(app, demo, path="/")
|
| 661 |
-
uvicorn.run(app
|
|
|
|
| 474 |
torch.set_float32_matmul_precision("high")
|
| 475 |
warnings.filterwarnings('ignore')
|
| 476 |
args = option.get_args_parser()
|
| 477 |
+
args.lora_path = "motionllm-ckpt/v-1-0/lora.pth"
|
| 478 |
+
args.mlp_path = "motionllm-ckpt/v-1-0/linear.pth"
|
| 479 |
|
| 480 |
conv_mode = "llava_v1"
|
| 481 |
model_path = 'LanguageBind/Video-LLaVA-7B'
|
|
|
|
| 660 |
[image1, video, textbox, first_run, state, chatbot, images_tensor])
|
| 661 |
|
| 662 |
app = gr.mount_gradio_app(app, demo, path="/")
|
| 663 |
+
uvicorn.run(app)
|