Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -220,12 +220,5 @@ def chatty(query):
|
|
| 220 |
query = previous_query + " " + query
|
| 221 |
return response
|
| 222 |
|
| 223 |
-
iface = gr.Interface(
|
| 224 |
-
fn=chatty,
|
| 225 |
-
inputs=[gr.Textbox(label="User:", placeholder="Enter your query")],
|
| 226 |
-
outputs=[gr.Textbox(label="Anjibot:", lines=3)],
|
| 227 |
-
title="AnjBot",
|
| 228 |
-
description="Hello! I'm AnjiBot, CS Group A AI Course Rep. How may I assist you today?",
|
| 229 |
-
examples=["I need Dr. Seun's phone number", "When is the next class?", "I need the slides from today's lectures."]
|
| 230 |
-
)
|
| 231 |
iface.launch()
|
|
|
|
| 220 |
query = previous_query + " " + query
|
| 221 |
return response
|
| 222 |
|
| 223 |
+
iface = gr.Interface(chatty)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 224 |
iface.launch()
|