Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -64,9 +64,33 @@ with gr.Blocks() as demo:
|
|
64 |
# Hello World!
|
65 |
Start typing below to see the output.
|
66 |
""")
|
67 |
-
|
68 |
-
|
69 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
|
71 |
gr.TabbedInterface(
|
72 |
[demoInterface, demo], ["Try-out", "Deployment"]
|
|
|
64 |
# Hello World!
|
65 |
Start typing below to see the output.
|
66 |
""")
|
67 |
+
|
68 |
+
gr.Markdown(
|
69 |
+
"""
|
70 |
+
GCP project ID
|
71 |
+
""")
|
72 |
+
gcp_project_id = gr.Textbox()
|
73 |
+
|
74 |
+
gr.Markdown(
|
75 |
+
"""
|
76 |
+
GCP region
|
77 |
+
""")
|
78 |
+
gcp_region = gr.Textbox()
|
79 |
+
|
80 |
+
gr.Markdown(
|
81 |
+
"""
|
82 |
+
Minimum number of nodes?
|
83 |
+
""")
|
84 |
+
min_nodes = gr.Slider(label="minimum number of nodes"),
|
85 |
+
|
86 |
+
gr.Markdown(
|
87 |
+
"""
|
88 |
+
Maximum number of nodes?
|
89 |
+
""")
|
90 |
+
max_nodes = gr.Slider(label="maximum number of nodes"),
|
91 |
+
|
92 |
+
btn = gr.Button(value="Ready to Deploy!")
|
93 |
+
# btn.click(mirror, inputs=[im], outputs=[im_2])
|
94 |
|
95 |
gr.TabbedInterface(
|
96 |
[demoInterface, demo], ["Try-out", "Deployment"]
|