Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
import validate
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
with gr.Blocks as app:
|
| 6 |
+
with gr.Row() as r1:
|
| 7 |
+
gr.HTML("""Validate""")
|
| 8 |
+
with gr.Row() as r2:
|
| 9 |
+
gr.HTML("""Pass""")
|
| 10 |
+
validate.checkp("P","P",r1,r2)
|
| 11 |
+
app.launch
|