Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,18 +7,28 @@ with gr.Blocks(title="Lab Rat App") as demo:
|
|
| 7 |
mainstudentapp=lines[1]
|
| 8 |
adultapprover=lines[2]
|
| 9 |
|
| 10 |
-
gr.
|
| 11 |
-
|
|
|
|
| 12 |
gr.Markdown()
|
| 13 |
-
gr.Markdown("
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
if __name__ == "__main__":
|
| 24 |
demo.queue(max_size=30,api_open=False).launch(share=True,show_error=False,favicon_path="C:\\Users\\mlevy\\OneDrive - Roanoke City Public Schools\\Desktop\\LabRat\\favicon.ico")
|
|
|
|
| 7 |
mainstudentapp=lines[1]
|
| 8 |
adultapprover=lines[2]
|
| 9 |
|
| 10 |
+
gr.Label(label="Welcome to the Lab Rat App",show_label=False, color="green")
|
| 11 |
+
gr.Markdown("### When using this app, you will only navigate using the buttons in the app - do not click the back button on your browser.")
|
| 12 |
+
gr.Markdown("### Clicking the refresh button will reset the page and bring you back to the login screen. Any unsaved progress will be lost, so be sure to save before hitting refresh or before closing the window")
|
| 13 |
gr.Markdown()
|
| 14 |
+
gr.Markdown("## Click the appropriate button below to login")
|
| 15 |
+
with gr.Row():
|
| 16 |
+
with gr.Column():
|
| 17 |
+
createbtn=gr.Button(value="Create Student Account",link=accountcreationlink)
|
| 18 |
+
gr.Markdown()
|
| 19 |
+
studentbtn=gr.Button(value="Student Login",link=mainstudentapp)
|
| 20 |
+
gr.Markdown()
|
| 21 |
+
parentbtn=gr.Button(value="Parent Approval",link=mainstudentapp)
|
| 22 |
+
with gr.Column():
|
| 23 |
+
teacherbtn=gr.Button(value="Teacher Login",link=adultapprover)
|
| 24 |
+
gr.Markdown()
|
| 25 |
+
adminbtn=gr.Button(value="Fair Admin Login",link=adultapprover)
|
| 26 |
+
gr.Markdown()
|
| 27 |
+
qsdsbtn=gr.Button(value="Qualified Scientist and Designated Supervisor Login",link=adultapprover)
|
| 28 |
+
gr.Markdown()
|
| 29 |
+
srcbtn=gr.Button(value="Scientific Review Committee (SRC) Login",link=adultapprover)
|
| 30 |
+
gr.Markdown()
|
| 31 |
+
irbbtn=gr.Button(value="Institutional Review Board (IRB) Login",link=adultapprover)
|
| 32 |
+
gr.Markdown()
|
| 33 |
if __name__ == "__main__":
|
| 34 |
demo.queue(max_size=30,api_open=False).launch(share=True,show_error=False,favicon_path="C:\\Users\\mlevy\\OneDrive - Roanoke City Public Schools\\Desktop\\LabRat\\favicon.ico")
|