DylanASHillier commited on
Commit
20d5f92
1 Parent(s): 482937d

changed api key to password

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -416,10 +416,10 @@ def get_answer(question, api_key):
416
  # Create a Gradio interface
417
  iface = gr.Interface(
418
  fn=get_answer,
419
- inputs=["text", gr.inputs.Textbox(label="API Key")],
420
  outputs="text",
421
  title="Question Answering App",
422
- description="Enter a question and API key to get an answer.",
423
  theme="default",
424
  layout="vertical"
425
  )
 
416
  # Create a Gradio interface
417
  iface = gr.Interface(
418
  fn=get_answer,
419
+ inputs=["text", gr.inputs.Textbox(label="Password")],
420
  outputs="text",
421
  title="Question Answering App",
422
+ description="Enter a question and Password to get an answer.",
423
  theme="default",
424
  layout="vertical"
425
  )