lstetson commited on
Commit
0a13bf9
·
verified ·
1 Parent(s): 4e20aad

Add title, description, and examples

Browse files
Files changed (1) hide show
  1. main.py +8 -1
main.py CHANGED
@@ -20,6 +20,13 @@ def run_query(question, db_path="data/videos_subset_more_context.db", #dev path
20
 
21
 
22
  if __name__ == "__main__":
23
- demo = gr.Interface(fn=run_query, inputs="text", outputs="text")
 
 
 
 
 
 
 
24
 
25
  demo.launch(share=True)
 
20
 
21
 
22
  if __name__ == "__main__":
23
+ demo = gr.Interface(fn=run_query,
24
+ inputs="text",
25
+ outputs="text",
26
+ title="Fitness Q&A",
27
+ description="Ask me a question about fitness! If I can, I'll provide a link to one of Dr. Andrew Huberman's videos with more information.",
28
+ theme="soft",
29
+ examples=["How can I promote muscle recovery?", "How does caffeine affect my workout?"]
30
+ )
31
 
32
  demo.launch(share=True)