Spaces:
Sleeping
Sleeping
Update: Adjust HTML
Browse files
app.py
CHANGED
|
@@ -145,12 +145,12 @@ def get_device_info():
|
|
| 145 |
|
| 146 |
### Create Form interface with Gradio Framework ##################################
|
| 147 |
with gr.Blocks() as demo:
|
|
|
|
| 148 |
gr.HTML("""
|
| 149 |
-
<
|
| 150 |
-
<p><strong>Automatically turn whisky tasting notes into flavour wheels.</strong><p>
|
| 151 |
<p>This model is a fine-tuned version of <a href='https://huggingface.co/microsoft/deberta-v3-base'>microsoft/deberta-v3-base</a> designed to analyze English whisky tasting notes. It predicts the intensity of eight sensory categories — <strong>grainy</strong>, <strong>grassy</strong>, <strong>fragrant</strong>, <strong>fruity</strong>, <strong>peated</strong>, <strong>woody</strong>, <strong>winey</strong> and <strong>off-notes</strong> — on a continuous scale from 0 (none) to 4 (extreme).</p>
|
| 152 |
-
|
| 153 |
-
|
| 154 |
|
| 155 |
with gr.Row(): # alles nebeneinander
|
| 156 |
with gr.Column(scale=1): # linke Seite: Input
|
|
|
|
| 145 |
|
| 146 |
### Create Form interface with Gradio Framework ##################################
|
| 147 |
with gr.Blocks() as demo:
|
| 148 |
+
gr.HTML("<h2>Multi-Axis Regression of Whisky Tasting Notes</h2>")
|
| 149 |
gr.HTML("""
|
| 150 |
+
<h3>Automatically turn Whisky Tasting Notes into Flavour Wheels.</h3>
|
|
|
|
| 151 |
<p>This model is a fine-tuned version of <a href='https://huggingface.co/microsoft/deberta-v3-base'>microsoft/deberta-v3-base</a> designed to analyze English whisky tasting notes. It predicts the intensity of eight sensory categories — <strong>grainy</strong>, <strong>grassy</strong>, <strong>fragrant</strong>, <strong>fruity</strong>, <strong>peated</strong>, <strong>woody</strong>, <strong>winey</strong> and <strong>off-notes</strong> — on a continuous scale from 0 (none) to 4 (extreme).</p>
|
| 152 |
+
""")
|
| 153 |
+
gr.HTML(f"<span style='color: var(--block-title-text-color)'>{get_device_info()}</span>")
|
| 154 |
|
| 155 |
with gr.Row(): # alles nebeneinander
|
| 156 |
with gr.Column(scale=1): # linke Seite: Input
|