Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -111,8 +111,8 @@ def chat_response(message, history):
|
|
111 |
# Define a Gradio Interface for the API
|
112 |
api_interface = gr.Interface(
|
113 |
fn=chat_response,
|
114 |
-
inputs=gr.
|
115 |
-
outputs=gr.
|
116 |
title="Admissions Agent API",
|
117 |
description="API endpoint for interacting with the AI-powered admissions coordinator."
|
118 |
)
|
|
|
111 |
# Define a Gradio Interface for the API
|
112 |
api_interface = gr.Interface(
|
113 |
fn=chat_response,
|
114 |
+
inputs=gr.Textbox(lines=2, placeholder="Enter your message here..."),
|
115 |
+
outputs=gr.Textbox(label="Response"),
|
116 |
title="Admissions Agent API",
|
117 |
description="API endpoint for interacting with the AI-powered admissions coordinator."
|
118 |
)
|