Spaces:
Sleeping
Sleeping
john
commited on
Commit
·
ac0068e
1
Parent(s):
a0281b0
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,10 +7,10 @@ theme = gr.themes.Soft(
|
|
| 7 |
primary_hue=gr.themes.Color("#ededed", "#fee2e2", "#fecaca", "#fca5a5", "#f87171", "#ef4444", "#dc2626", "#b91c1c", "#991b1b", "#7f1d1d", "#6c1e1e"),
|
| 8 |
neutral_hue="red",
|
| 9 |
)
|
| 10 |
-
title = """<h1 align="center">Chat with awesome Dolly V2 3B model
|
| 11 |
with gr.Blocks(theme=theme) as demo:
|
| 12 |
gr.HTML(title)
|
| 13 |
-
gr.HTML("
|
| 14 |
Dolly = gr.Chatbot().style(height=500)
|
| 15 |
msg = gr.Textbox()
|
| 16 |
clear = gr.Button("Clear")
|
|
|
|
| 7 |
primary_hue=gr.themes.Color("#ededed", "#fee2e2", "#fecaca", "#fca5a5", "#f87171", "#ef4444", "#dc2626", "#b91c1c", "#991b1b", "#7f1d1d", "#6c1e1e"),
|
| 8 |
neutral_hue="red",
|
| 9 |
)
|
| 10 |
+
title = """<h1 align="center">Chat with awesome Dolly V2 3B model</h1><br><h2 align="center">🏃♂️💨Streaming with Transformers & Gradio💪</h2>"""
|
| 11 |
with gr.Blocks(theme=theme) as demo:
|
| 12 |
gr.HTML(title)
|
| 13 |
+
gr.HTML("This is run in cpu, so it might be a bit slow. Also, the model is great with language but might fail answering questions with numbers. If you want to skip waiting time, just clone the app.")
|
| 14 |
Dolly = gr.Chatbot().style(height=500)
|
| 15 |
msg = gr.Textbox()
|
| 16 |
clear = gr.Button("Clear")
|