Spaces:
xp3857
/
Build error

File size: 375 Bytes
a1d22a1
 
 
3e5bb4b
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import gradio as gr
import os
o=os.environ['P']
def main()
    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()
main()