GSridhar1982
commited on
Commit
•
e682ac6
1
Parent(s):
afe5cf1
Update app.py
Browse files
app.py
CHANGED
@@ -27,6 +27,13 @@ def predict(text):
|
|
27 |
# outputs="Answer",
|
28 |
#)
|
29 |
|
30 |
-
|
31 |
-
|
32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
# outputs="Answer",
|
28 |
#)
|
29 |
|
30 |
+
iface = gr.Interface(
|
31 |
+
fn=generate_response,
|
32 |
+
inputs="textbox",
|
33 |
+
outputs="text",
|
34 |
+
title="AIML Q&A Chatbot",
|
35 |
+
description="Ask questions related to AIML and get answers from the fine-tuned Llama model."
|
36 |
+
)
|
37 |
+
|
38 |
+
# Launch the app
|
39 |
+
iface.launch()
|