avysotsky commited on
Commit
0ec7534
1 Parent(s): 0e2d6aa

remove api keys

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -13,7 +13,14 @@ def ask_question(question, history):
13
 
14
  demo = gr.Interface(fn=ask_question,
15
  title="Ask Lethain a question",
 
16
  inputs=["text", "state"],
17
- outputs=["chatbot", "state"], allow_flagging="never")
 
 
 
 
 
 
18
 
19
  demo.launch()
 
13
 
14
  demo = gr.Interface(fn=ask_question,
15
  title="Ask Lethain a question",
16
+ description="Ask Lethain a question and get an answer. Under the hood is a GPT-3 model trained on Will Larson's blog posts.",
17
  inputs=["text", "state"],
18
+ outputs=["chatbot", "state"],
19
+ examples=[["What is the best way to manage a team?", []],
20
+ ["How to organize a team of 20 engineers?", []],
21
+ ["How to get a job as a engineering executive?", []],
22
+ ["How to do a complex software migration?", []],
23
+ ],
24
+ allow_flagging="never")
25
 
26
  demo.launch()