Spaces:
Runtime error
Runtime error
Commit
·
5591b57
1
Parent(s):
f42801b
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def get_answer(input_text):
|
|
12 |
# Create a Gradio interface
|
13 |
iface = gr.Interface(
|
14 |
fn=get_answer,
|
15 |
-
inputs=gr.
|
16 |
outputs="text")
|
17 |
|
18 |
# Run the interface
|
|
|
12 |
# Create a Gradio interface
|
13 |
iface = gr.Interface(
|
14 |
fn=get_answer,
|
15 |
+
inputs=gr.Textbox(lines=2, placeholder="Enter your input text"),
|
16 |
outputs="text")
|
17 |
|
18 |
# Run the interface
|