davanstrien HF staff commited on
Commit
a064f46
1 Parent(s): 47f28c5

feedack mention

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -31,6 +31,7 @@ client = QdrantClient(
31
  # else:
32
  # return f"{bytes_size / (1024 ** 3):.2f} TB"
33
 
 
34
  def format_time_nicely(time_str):
35
  return time_str.split("T")[0]
36
 
@@ -48,7 +49,7 @@ def format_results(results, show_associated_models=True):
48
  header = f"## [{hub_id}]({url})"
49
  markdown += header + "\n"
50
 
51
- markdown += f"**30 Day Downloads:** {download_number}"
52
  if lastModified:
53
  markdown += f" | **Last Modified:** {format_time_nicely(lastModified)} \n\n"
54
  else:
@@ -139,7 +140,7 @@ with gr.Blocks() as demo:
139
  gr.Markdown(
140
  "This Gradio app allows you to search for datasets based on their"
141
  " descriptions. You can either search for similar datasets to a given"
142
- " dataset or search for datasets based on a query."
143
  )
144
  with gr.Row():
145
  search_term = gr.Textbox(
 
31
  # else:
32
  # return f"{bytes_size / (1024 ** 3):.2f} TB"
33
 
34
+
35
  def format_time_nicely(time_str):
36
  return time_str.split("T")[0]
37
 
 
49
  header = f"## [{hub_id}]({url})"
50
  markdown += header + "\n"
51
 
52
+ markdown += f"**30 Day Download:** {download_number}"
53
  if lastModified:
54
  markdown += f" | **Last Modified:** {format_time_nicely(lastModified)} \n\n"
55
  else:
 
140
  gr.Markdown(
141
  "This Gradio app allows you to search for datasets based on their"
142
  " descriptions. You can either search for similar datasets to a given"
143
+ " dataset or search for datasets based on a query. This is an early proof of concept. Feedback very welcome!"
144
  )
145
  with gr.Row():
146
  search_term = gr.Textbox(