Skip to content

Commit fd24a2a

Browse files
committed
Update local demo
1 parent fdc88b1 commit fd24a2a

File tree

3 files changed

+517
-3
lines changed

3 files changed

+517
-3
lines changed

app.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ def bot_example(history, responses):
534534
label="Visulization method",
535535
interactive=True,
536536
elem_id="method",
537-
value="slow")
537+
value="fast")
538538

539539
language = gr.Dropdown(["English", "中文"],
540540
label="Speech language",
@@ -575,5 +575,7 @@ def bot_example(history, responses):
575575

576576
chatbot.change(scroll_to_output=True)
577577

578+
demo.queue()
579+
578580
if __name__ == "__main__":
579-
demo.launch(debug=True)
581+
demo.launch(server_name="0.0.0.0", server_port=8888, debug=True)

configs/webui.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ LOSS:
5454

5555
# Model Configuration
5656
model:
57-
target: mGPT.models.mgpt.MotionGPT
57+
target: mGPT.models.mgpt_webui.MotionGPT
5858
params:
5959
condition: 'text'
6060
task: 't2m'

0 commit comments

Comments
 (0)