File size: 341 Bytes
fff6aeb
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import gradio as gr
from motion_id import create_motion_id

def register_user(name):
    motion_id = create_motion_id(name)
    return f"Your Motion ID: {motion_id}"

gr.Interface(
    fn=register_user,
    inputs="text",
    outputs="text",
    title="Motion ID MVP",
    description="Register a user and get a unique Motion ID."
).launch()