Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def classify_task(prompt):
|
|
20 |
# Create the Gradio interface
|
21 |
iface = gr.Interface(
|
22 |
fn=classify_task,
|
23 |
-
inputs=gr.
|
24 |
outputs='text',
|
25 |
title='AI Task Classifier Chatbot',
|
26 |
description='This chatbot classifies your prompt into different AI tasks.'
|
|
|
20 |
# Create the Gradio interface
|
21 |
iface = gr.Interface(
|
22 |
fn=classify_task,
|
23 |
+
inputs=gr.Textbox(lines=2, placeholder="Enter your prompt here..."),
|
24 |
outputs='text',
|
25 |
title='AI Task Classifier Chatbot',
|
26 |
description='This chatbot classifies your prompt into different AI tasks.'
|