Tpayne101 commited on
Commit
fff6aeb
·
verified ·
1 Parent(s): 5b5caaf

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ from motion_id import create_motion_id
3
+
4
+ def register_user(name):
5
+ motion_id = create_motion_id(name)
6
+ return f"Your Motion ID: {motion_id}"
7
+
8
+ gr.Interface(
9
+ fn=register_user,
10
+ inputs="text",
11
+ outputs="text",
12
+ title="Motion ID MVP",
13
+ description="Register a user and get a unique Motion ID."
14
+ ).launch()