Spaces:
Sleeping
Sleeping
Sakshi1307
commited on
Commit
•
f42b72b
1
Parent(s):
0ef7e2b
Removed "inputs" error
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def generate_answer(question):
|
|
15 |
# Create a Gradio interface
|
16 |
iface = gr.Interface(
|
17 |
fn=generate_answer,
|
18 |
-
inputs=gr.
|
19 |
outputs="text",
|
20 |
title="Interview Simulation AI",
|
21 |
description="This AI model simulates me in an interview questions. Type in a question and see how it responds!"
|
|
|
15 |
# Create a Gradio interface
|
16 |
iface = gr.Interface(
|
17 |
fn=generate_answer,
|
18 |
+
inputs=gr.Textbox(lines=2, placeholder="Enter your interview question here..."),
|
19 |
outputs="text",
|
20 |
title="Interview Simulation AI",
|
21 |
description="This AI model simulates me in an interview questions. Type in a question and see how it responds!"
|