another attempt
Browse files
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.
|
14 |
-
PORT_gr = gr.
|
15 |
-
USERNAME_gr = gr.
|
16 |
-
PASSWORD_gr = gr.
|
17 |
-
PIOREACTOR_gr = gr.
|
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
|