Spaces:
xp3857
/
Build error

File size: 313 Bytes
a1d22a1
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import gradio as gr
import os
o=os.environ['P']
def checkp(p):
    if p == o:
        os.system('python app.py')
    elif p != o:
        pass
with gr.Blocks() as validate:
    with gr.Row():
        pass_box=gr.Textbox()
        pass_btn=gr.Button()
        pass_btn.click(checkp,pass_box,None)
validate.launch()