Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ input_text = gr.Textbox(label="Enter prompt", type="text")
|
|
| 27 |
output_text = gr.Textbox(label="AI response", type="text")
|
| 28 |
demo = gr.Interface(
|
| 29 |
fn = placeholder_fn,
|
| 30 |
-
inputs=input_text
|
| 31 |
outputs=output_text,
|
| 32 |
title="AI Stupid Chatbot for PlanetTogether Knowledge Base",
|
| 33 |
description="Ask a question about the PlanetTogether APS:",
|
|
|
|
| 27 |
output_text = gr.Textbox(label="AI response", type="text")
|
| 28 |
demo = gr.Interface(
|
| 29 |
fn = placeholder_fn,
|
| 30 |
+
inputs=[password_box, input_text]
|
| 31 |
outputs=output_text,
|
| 32 |
title="AI Stupid Chatbot for PlanetTogether Knowledge Base",
|
| 33 |
description="Ask a question about the PlanetTogether APS:",
|