Update app.py
Browse files
app.py
CHANGED
|
@@ -46,6 +46,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
| 46 |
|
| 47 |
demo = gr.ChatInterface(
|
| 48 |
respond,
|
|
|
|
| 49 |
additional_inputs=[
|
| 50 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
| 51 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
|
@@ -62,13 +63,5 @@ demo = gr.ChatInterface(
|
|
| 62 |
|
| 63 |
|
| 64 |
if __name__ == "__main__":
|
| 65 |
-
|
| 66 |
-
# Adding a label at the top of the page
|
| 67 |
-
gr.Markdown(
|
| 68 |
-
"""
|
| 69 |
-
# Welcome to My Chat Interface
|
| 70 |
-
This app uses the Llama-3.2-1B-Instruct model to provide conversational AI responses.
|
| 71 |
-
Adjust the parameters below to customize the chat behavior.
|
| 72 |
-
"""
|
| 73 |
-
)
|
| 74 |
demo.launch()
|
|
|
|
| 46 |
|
| 47 |
demo = gr.ChatInterface(
|
| 48 |
respond,
|
| 49 |
+
theme = "soft",
|
| 50 |
additional_inputs=[
|
| 51 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
| 52 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
|
|
|
| 63 |
|
| 64 |
|
| 65 |
if __name__ == "__main__":
|
| 66 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
demo.launch()
|