Update app.py
Browse files
app.py
CHANGED
@@ -40,11 +40,18 @@ def respond(
|
|
40 |
yield response
|
41 |
|
42 |
|
43 |
-
f"Hi there Elli"
|
44 |
-
|
45 |
"""
|
46 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
47 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
demo = gr.ChatInterface(
|
49 |
respond,
|
50 |
additional_inputs=[
|
|
|
40 |
yield response
|
41 |
|
42 |
|
|
|
|
|
43 |
"""
|
44 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
45 |
"""
|
46 |
+
with gr.Blocks() as demo:
|
47 |
+
# Adding a label at the top of the page
|
48 |
+
gr.Markdown(
|
49 |
+
"""
|
50 |
+
# Welcome to My Chat Interface
|
51 |
+
This app uses the Llama-3.2-1B-Instruct model to provide conversational AI responses.
|
52 |
+
Adjust the parameters below to customize the chat behavior.
|
53 |
+
"""
|
54 |
+
)
|
55 |
demo = gr.ChatInterface(
|
56 |
respond,
|
57 |
additional_inputs=[
|