HonestAnnie commited on
Commit
4699e8e
1 Parent(s): bf958a8

change instructions

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def query_chroma(collection, embedding, authors):
46
  return formatted_results
47
 
48
  with gr.Blocks(css=".custom-markdown { border: 1px solid #ccc; padding: 10px; border-radius: 5px; }") as demo:
49
- gr.Markdown("Enter your query, filter authors (default is all), click **Search** to search. Delimit multiple queries with semicola; since there is a quota for each user (based on IP) it makes sense to query in batches. The search takes around 50 seconds because the embedding model needs to be loaded to a GPU each time (another reason to do multiple queries at once).")
50
  database_inp = gr.Dropdown(label="Database", choices=["German", "English"], value="German")
51
  author_inp = gr.Dropdown(label="Authors", choices=authors_list_de, multiselect=True)
52
  inp = gr.Textbox(label="Query", placeholder="Wie kann ich gesund leben und bedeutet Gesundheit für jeden das gleiche?; Was ist der Sinn des Lebens?; ...")
 
46
  return formatted_results
47
 
48
  with gr.Blocks(css=".custom-markdown { border: 1px solid #ccc; padding: 10px; border-radius: 5px; }") as demo:
49
+ gr.Markdown("Enter your query, filter authors (default is all), click **Search** to search. Delimit multiple queries with semicola; since there is a quota for each user (based on IP) it makes sense to query in batches. The search takes around 40 seconds, regardless of the number of queries, because the embedding model needs to be loaded to a GPU each time.")
50
  database_inp = gr.Dropdown(label="Database", choices=["German", "English"], value="German")
51
  author_inp = gr.Dropdown(label="Authors", choices=authors_list_de, multiselect=True)
52
  inp = gr.Textbox(label="Query", placeholder="Wie kann ich gesund leben und bedeutet Gesundheit für jeden das gleiche?; Was ist der Sinn des Lebens?; ...")