Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -161,9 +161,9 @@ with gr.Blocks() as demo:
|
|
161 |
gr.Markdown("## HF Serverless LLM Inference API Status")
|
162 |
gr.Markdown(description)
|
163 |
search_box = gr.Textbox(label="Search for a model", placeholder="Type model name here...")
|
164 |
-
table = gr.Dataframe(value=display_table(use_cache=True), headers="keys")
|
165 |
gr.Markdown("### Cached Endpoints")
|
166 |
filter_box = gr.CheckboxGroup(choices=["Free", "Pro Subscription", "Not Responding", "Text Completion", "Chat Completion", "Vision"], label="Filters")
|
|
|
167 |
|
168 |
def update_filters(query, filters):
|
169 |
return search_models(query, filters, use_cache=True)
|
|
|
161 |
gr.Markdown("## HF Serverless LLM Inference API Status")
|
162 |
gr.Markdown(description)
|
163 |
search_box = gr.Textbox(label="Search for a model", placeholder="Type model name here...")
|
|
|
164 |
gr.Markdown("### Cached Endpoints")
|
165 |
filter_box = gr.CheckboxGroup(choices=["Free", "Pro Subscription", "Not Responding", "Text Completion", "Chat Completion", "Vision"], label="Filters")
|
166 |
+
table = gr.Dataframe(value=display_table(use_cache=True), headers="keys")
|
167 |
|
168 |
def update_filters(query, filters):
|
169 |
return search_models(query, filters, use_cache=True)
|