Spaces:
Running
Running
Commit
·
9472c85
1
Parent(s):
69765f6
linting
Browse files
app.py
CHANGED
@@ -10,8 +10,6 @@ import pandas as pd
|
|
10 |
import gradio as gr
|
11 |
|
12 |
from huggingface_hub import hf_hub_url
|
13 |
-
import requests
|
14 |
-
from diskcache import Cache
|
15 |
from diskcache import Cache
|
16 |
from sys import platform
|
17 |
import gradio as gr
|
@@ -148,11 +146,6 @@ def prep_dataframe(remove_orgs_and_users=remove_orgs, columns_to_drop=columns_to
|
|
148 |
# return df
|
149 |
|
150 |
|
151 |
-
import datetime
|
152 |
-
|
153 |
-
import datetime
|
154 |
-
|
155 |
-
|
156 |
def filter_df_by_max_age(max_age_days=None):
|
157 |
df = prep_dataframe()
|
158 |
df = df.dropna(subset=["created"])
|
|
|
10 |
import gradio as gr
|
11 |
|
12 |
from huggingface_hub import hf_hub_url
|
|
|
|
|
13 |
from diskcache import Cache
|
14 |
from sys import platform
|
15 |
import gradio as gr
|
|
|
146 |
# return df
|
147 |
|
148 |
|
|
|
|
|
|
|
|
|
|
|
149 |
def filter_df_by_max_age(max_age_days=None):
|
150 |
df = prep_dataframe()
|
151 |
df = df.dropna(subset=["created"])
|