MotionID / app.py
Tpayne101's picture
Create app.py
fff6aeb verified
raw
history blame contribute delete
341 Bytes
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()