From be0e1ec27bdee3d293b290c2874f54e067c513b5 Mon Sep 17 00:00:00 2001 From: Zhivago-Sizov <55059377+Zhivago-Sizov@users.noreply.github.com> Date: Wed, 3 Apr 2024 02:59:41 +0000 Subject: [PATCH] Fix video file not allowed to server --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index b47e219..695ab83 100644 --- a/app.py +++ b/app.py @@ -356,7 +356,7 @@ def bot_example(history, responses): ]) chat_instruct_sum = gr.State([(None, ''' 👋 Hi, I'm MotionGPT! I can generate realistic human motion from text, or generate text from motion. - + 1. You can chat with me in pure text like generating human motion following your descriptions. 2. After generation, you can click the button in the top right of generation human motion result to download the human motion video or feature stored in .npy format. 3. With the human motion feature file downloaded or got from dataset, you are able to ask me to translate it! @@ -582,4 +582,4 @@ def bot_example(history, responses): demo.queue() if __name__ == "__main__": - demo.launch(server_name="0.0.0.0", server_port=8888, debug=True) + demo.launch(server_name="0.0.0.0", server_port=8888, debug=True,allowed_paths=["./assets", "./cache"])