OpenGVLab / Ask-Anything

[CVPR2024 Highlight][VideoChatGPT] ChatGPT with video understanding! And many more supported LMs such as miniGPT4, StableLM, and MOSS.
https://vchat.opengvlab.com/
MIT License
2.86k stars 230 forks source link

Local Videochat uploading video:Expecting value: line 1 column 1 (char 0) #63

Closed Yujia-Zhang0913 closed 10 months ago

Yujia-Zhang0913 commented 10 months ago
image image

Hi, I want to build the videochat locally, but when I tried to upload my video through http://0.0.0.0:7860, there would be an error. And when I run app.py, it seems good. Thx!

image
yinanhe commented 10 months ago

Is there any error message in the terminal? Do you have a network proxy?

If you are running a network proxy, it is recommended to disable it.

Yujia-Zhang0913 commented 10 months ago

Is there any error message in the terminal? Do you have a network proxy?↳

If you are running a network proxy, it is recommended to disable it.↳

Thx! I'm using the proxy. I disabled it and it work out. But I encountered another problem: can this project use gpt-35-turbo-16k? Thx!

image
yinanhe commented 10 months ago

Maybe you can change the https://github.com/OpenGVLab/Ask-Anything/blob/6e621d11f7714aa90d047decf6f037bd860598d8/video_chat_with_ChatGPT/chatbot.py#L70C64-L70C87 to model_name='gpt-3.5-turbo-16k'

Yujia-Zhang0913 commented 10 months ago

Maybe you can change the https://github.com/OpenGVLab/Ask-Anything/blob/6e621d11f7714aa90d047decf6f037bd860598d8/video_chat_with_ChatGPT/chatbot.py#L70C64-L70C87 to model_name='gpt-3.5-turbo-16k'↳ It works out now. I used the model_name='gpt-3.5-turbo-16k. and added an engine(gpt-35-turbo-16k) and a new define class. Really thx!

image
image