Spaces:
Running
Running
Commit ·
12831ee
1
Parent(s): 8404975
Update app.py
Browse files
app.py
CHANGED
|
@@ -91,9 +91,13 @@ customCSS = """
|
|
| 91 |
"""
|
| 92 |
|
| 93 |
with gr.Blocks(css=css, theme="NoCrypt/miku@1.2.1") as demo: # Theme und CSS hier hinzugefügt
|
|
|
|
|
|
|
|
|
|
| 94 |
gr.ChatInterface(
|
| 95 |
generate,
|
| 96 |
additional_inputs=additional_inputs,
|
|
|
|
| 97 |
)
|
| 98 |
|
| 99 |
demo.queue().launch(debug=True)
|
|
|
|
| 91 |
"""
|
| 92 |
|
| 93 |
with gr.Blocks(css=css, theme="NoCrypt/miku@1.2.1") as demo: # Theme und CSS hier hinzugefügt
|
| 94 |
+
gr.HTML("<h1><center>Chat with (Mistrailex 7B) <h1><center>")
|
| 95 |
+
gr.HTML("<h3><center>Einfach.Fragen 💬<h3><center>")
|
| 96 |
+
gr.HTML("<h3><center>Learn more about the model <a href='https://huggingface.co/docs/transformers/main/model_doc/mistral'>here</a>. 📚<h3><center>")
|
| 97 |
gr.ChatInterface(
|
| 98 |
generate,
|
| 99 |
additional_inputs=additional_inputs,
|
| 100 |
+
examples=[["What is the secret to life?"], ["Write me a recipe for pancakes."]]
|
| 101 |
)
|
| 102 |
|
| 103 |
demo.queue().launch(debug=True)
|