Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Fix: Disable API hint in UI
Browse files
app.py
CHANGED
|
@@ -157,7 +157,7 @@ custom_css = """
|
|
| 157 |
}
|
| 158 |
"""
|
| 159 |
|
| 160 |
-
with gr.Blocks(css=custom_css
|
| 161 |
gr.HTML("<h2>Multi-Axis Regression of Whisky Tasting Notes</h2>")
|
| 162 |
gr.HTML("""
|
| 163 |
<h3>Automatically turns Whisky Tasting Notes into Flavour Wheels.</h3>
|
|
@@ -188,4 +188,4 @@ with gr.Blocks(css=custom_css, show_api=False) as demo:
|
|
| 188 |
submit_btn.click(predict, inputs=review_box, outputs=[html_info_out, html_wheel_out, json_out])
|
| 189 |
replace_btn.click(random_text, outputs=review_box)
|
| 190 |
|
| 191 |
-
demo.launch()
|
|
|
|
| 157 |
}
|
| 158 |
"""
|
| 159 |
|
| 160 |
+
with gr.Blocks(css=custom_css) as demo:
|
| 161 |
gr.HTML("<h2>Multi-Axis Regression of Whisky Tasting Notes</h2>")
|
| 162 |
gr.HTML("""
|
| 163 |
<h3>Automatically turns Whisky Tasting Notes into Flavour Wheels.</h3>
|
|
|
|
| 188 |
submit_btn.click(predict, inputs=review_box, outputs=[html_info_out, html_wheel_out, json_out])
|
| 189 |
replace_btn.click(random_text, outputs=review_box)
|
| 190 |
|
| 191 |
+
demo.launch(show_api=False)
|