linx5o commited on
Commit
41319c6
·
1 Parent(s): 00d2bb7

another attempt

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -10,11 +10,11 @@ USERNAME = os.getenv("username")
10
  PASSWORD = os.getenv("password")
11
  PIOREACTOR = os.getenv("pioreactor")
12
 
13
- HOST_gr = gr.State("Host", HOST)
14
- PORT_gr = gr.State("Port", PORT)
15
- USERNAME_gr = gr.State("Username", USERNAME)
16
- PASSWORD_gr = gr.State("Password", PASSWORD)
17
- PIOREACTOR_gr = gr.State("Pioreactor", PIOREACTOR)
18
 
19
  client = None
20
  client_custom = None
 
10
  PASSWORD = os.getenv("password")
11
  PIOREACTOR = os.getenv("pioreactor")
12
 
13
+ HOST_gr = gr.Textbox(label="Host", value=HOST, visible=False)
14
+ PORT_gr = gr.Number(label="Port", value=PORT, visible=False)
15
+ USERNAME_gr = gr.Textbox(label="Username", value=USERNAME, visible=False)
16
+ PASSWORD_gr = gr.Textbox(label="Password", value=PASSWORD, visible=False)
17
+ PIOREACTOR_gr = gr.Textbox(label="Pioreactor", value=PIOREACTOR, visible=False)
18
 
19
  client = None
20
  client_custom = None