Spaces:
Running
Running
Commit
·
ac9a0a9
1
Parent(s):
8ca23a5
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,7 +65,7 @@ css = """
|
|
| 65 |
with gr.Blocks(title="Mistral Playground", css=css) as mistral_playground:
|
| 66 |
with gr.Row():
|
| 67 |
with gr.Column(scale=1, min_width=80):
|
| 68 |
-
gr.Image("tt-logo.jpg",
|
| 69 |
with gr.Column(scale=11):
|
| 70 |
gr.Markdown("Thinktecture Mistral AI Playground", elem_classes="header-text")
|
| 71 |
|
|
@@ -73,7 +73,7 @@ with gr.Blocks(title="Mistral Playground", css=css) as mistral_playground:
|
|
| 73 |
api_key = gr.Textbox(type='password', placeholder='Your Mistral AI API key', lines=1, label="Mistral AI API Key")
|
| 74 |
model = gr.Radio(
|
| 75 |
choices=["mistral-tiny", "mistral-small", "mistral-medium"],
|
| 76 |
-
value="mistral-
|
| 77 |
)
|
| 78 |
with gr.Row(variant='panel'):
|
| 79 |
temperature = gr.Slider(minimum=0.01, maximum=1.0, value=0.2, step=0.1, label="Temperature")
|
|
|
|
| 65 |
with gr.Blocks(title="Mistral Playground", css=css) as mistral_playground:
|
| 66 |
with gr.Row():
|
| 67 |
with gr.Column(scale=1, min_width=80):
|
| 68 |
+
gr.Image("tt-logo.jpg", show_download_button=False, show_share_button=False, interactive=False, show_label=False, elem_id="thinktecture-logo", container=False)
|
| 69 |
with gr.Column(scale=11):
|
| 70 |
gr.Markdown("Thinktecture Mistral AI Playground", elem_classes="header-text")
|
| 71 |
|
|
|
|
| 73 |
api_key = gr.Textbox(type='password', placeholder='Your Mistral AI API key', lines=1, label="Mistral AI API Key")
|
| 74 |
model = gr.Radio(
|
| 75 |
choices=["mistral-tiny", "mistral-small", "mistral-medium"],
|
| 76 |
+
value="mistral-medium",
|
| 77 |
)
|
| 78 |
with gr.Row(variant='panel'):
|
| 79 |
temperature = gr.Slider(minimum=0.01, maximum=1.0, value=0.2, step=0.1, label="Temperature")
|