Spaces:
Sleeping
Sleeping
Antonela Tamagnini commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -70,6 +70,7 @@ custom_css = """
|
|
| 70 |
# Gradio interface with additional components
|
| 71 |
demo = gr.ChatInterface(
|
| 72 |
respond,
|
|
|
|
| 73 |
additional_inputs=[
|
| 74 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
| 75 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
|
@@ -87,4 +88,4 @@ demo = gr.ChatInterface(
|
|
| 87 |
|
| 88 |
|
| 89 |
if __name__ == "__main__":
|
| 90 |
-
demo.launch()
|
|
|
|
| 70 |
# Gradio interface with additional components
|
| 71 |
demo = gr.ChatInterface(
|
| 72 |
respond,
|
| 73 |
+
title="<div id='header'><h1>My Enhanced Chatbot</h1><img id='logo' src='https://github.com/atamagnini/mlops-cs553-fall24/blob/main/assets/logo.png'></div>"
|
| 74 |
additional_inputs=[
|
| 75 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
| 76 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
|
|
|
| 88 |
|
| 89 |
|
| 90 |
if __name__ == "__main__":
|
| 91 |
+
demo.launch()
|