Spaces:
Runtime error
Runtime error
Commit
·
1aae5f6
1
Parent(s):
4088870
Update app.py
Browse files
app.py
CHANGED
@@ -229,13 +229,12 @@ with gr.Blocks() as demo2:
|
|
229 |
type="password"
|
230 |
)
|
231 |
gr.Markdown("""
|
232 |
-
### All
|
233 |
""")
|
234 |
|
235 |
endpoints_table = gr.Dataframe(
|
236 |
headers=["Endpoint Name", "Revision", "Provider", "Instance Type", "Status", "Min Replica", "Max Replica", "Created At", "Updated At"],
|
237 |
col_count=(9, "fixed"),
|
238 |
-
value=[],
|
239 |
)
|
240 |
info_button = gr.Button(value="Get Info")
|
241 |
info_button.click(get_all_endpoints, inputs=hf_token_input, outputs=endpoints_table)
|
|
|
229 |
type="password"
|
230 |
)
|
231 |
gr.Markdown("""
|
232 |
+
### All Deployed Endpoints
|
233 |
""")
|
234 |
|
235 |
endpoints_table = gr.Dataframe(
|
236 |
headers=["Endpoint Name", "Revision", "Provider", "Instance Type", "Status", "Min Replica", "Max Replica", "Created At", "Updated At"],
|
237 |
col_count=(9, "fixed"),
|
|
|
238 |
)
|
239 |
info_button = gr.Button(value="Get Info")
|
240 |
info_button.click(get_all_endpoints, inputs=hf_token_input, outputs=endpoints_table)
|