Spaces:
Sleeping
Sleeping
update interface
Browse files
app.py
CHANGED
@@ -77,8 +77,8 @@ example_questions = [
|
|
77 |
interface = gr.Interface(
|
78 |
fn=classify_question,
|
79 |
inputs=[
|
80 |
-
gr.
|
81 |
-
gr.
|
82 |
],
|
83 |
outputs=[
|
84 |
"text", # Output for label
|
|
|
77 |
interface = gr.Interface(
|
78 |
fn=classify_question,
|
79 |
inputs=[
|
80 |
+
gr.Textbox(lines=2, placeholder="Enter your question here..."),
|
81 |
+
gr.Dropdown(example_questions, label="Select an example question:")
|
82 |
],
|
83 |
outputs=[
|
84 |
"text", # Output for label
|