Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -90,13 +90,16 @@ css = """
|
|
90 |
"""
|
91 |
|
92 |
with gr.Blocks(css=css) as demo:
|
93 |
-
gr.HTML("<h1><center>Mistral 7B Instruct<h1><center>")
|
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.ChatInterface(
|
97 |
generate,
|
98 |
additional_inputs=additional_inputs,
|
99 |
-
examples=[["What is the secret to life?"], ["Write me a recipe for
|
100 |
)
|
101 |
|
102 |
demo.queue(concurrency_count=75, max_size=100).launch(debug=True)
|
|
|
90 |
"""
|
91 |
|
92 |
with gr.Blocks(css=css) as demo:
|
93 |
+
# gr.HTML("<h1><center>Mistral 7B Instruct<h1><center>")
|
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 |
)
|
104 |
|
105 |
demo.queue(concurrency_count=75, max_size=100).launch(debug=True)
|