Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -94,12 +94,13 @@ with gr.Blocks(css=css) as demo:
|
|
| 94 |
# gr.HTML("<h3><center>In this demo, you can chat with <a href='https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1'>Mistral-7B-Instruct</a> model. π¬<h3><center>")
|
| 95 |
# gr.HTML("<h3><center>Learn more about the model <a href='https://huggingface.co/docs/transformers/main/model_doc/mistral'>here</a>. π<h3><center>")
|
| 96 |
gr.HTML("<h1><center>AI Conversation<h1><center>")
|
| 97 |
-
gr.HTML("<h3><center>How can I help you? You can converse with me
|
| 98 |
gr.HTML("<h3><center>Have a wonderful day! π<h3><center>")
|
| 99 |
gr.ChatInterface(
|
| 100 |
generate,
|
| 101 |
additional_inputs=additional_inputs,
|
| 102 |
-
examples=[["List fun activities in Boston"], ["How to send a weekend in San Francisco?"], ["What is the secret to life?"], ["Write me a recipe for a quick vegeterain breakfast."]
|
|
|
|
| 103 |
)
|
| 104 |
|
| 105 |
demo.queue(concurrency_count=75, max_size=100).launch(debug=True)
|
|
|
|
| 94 |
# gr.HTML("<h3><center>In this demo, you can chat with <a href='https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1'>Mistral-7B-Instruct</a> model. π¬<h3><center>")
|
| 95 |
# gr.HTML("<h3><center>Learn more about the model <a href='https://huggingface.co/docs/transformers/main/model_doc/mistral'>here</a>. π<h3><center>")
|
| 96 |
gr.HTML("<h1><center>AI Conversation<h1><center>")
|
| 97 |
+
gr.HTML("<h3><center>How can I help you? You can converse with meπ¬<h3><center>")
|
| 98 |
gr.HTML("<h3><center>Have a wonderful day! π<h3><center>")
|
| 99 |
gr.ChatInterface(
|
| 100 |
generate,
|
| 101 |
additional_inputs=additional_inputs,
|
| 102 |
+
examples=[["List fun activities in Boston"], ["How to send a weekend in San Francisco?"], ["What is the secret to life?"], ["Write me a recipe for a quick vegeterain breakfast."],
|
| 103 |
+
["Create a plan for daily healthy habbits."]]
|
| 104 |
)
|
| 105 |
|
| 106 |
demo.queue(concurrency_count=75, max_size=100).launch(debug=True)
|