Spaces:
Runtime error
Runtime error
DylanASHillier
commited on
Commit
•
20d5f92
1
Parent(s):
482937d
changed api key to password
Browse files
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="
|
420 |
outputs="text",
|
421 |
title="Question Answering App",
|
422 |
-
description="Enter a question and
|
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 |
)
|