Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,26 +1,6 @@
|
|
| 1 |
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
-
gr.HTML("""
|
| 5 |
-
<style>
|
| 6 |
-
html, body {
|
| 7 |
-
height: 100%;
|
| 8 |
-
margin: 0;
|
| 9 |
-
font-family: 'Segoe UI', sans-serif;
|
| 10 |
-
}
|
| 11 |
-
|
| 12 |
-
body {
|
| 13 |
-
background-image: linear-gradient(to bottom, #051937, #004d7a, #008793, #00bf72, #a8eb12);
|
| 14 |
-
background-size: cover;
|
| 15 |
-
background-repeat: no-repeat;
|
| 16 |
-
}
|
| 17 |
-
|
| 18 |
-
.gradio-container {
|
| 19 |
-
font-family: 'Segoe UI', sans-serif;
|
| 20 |
-
}
|
| 21 |
-
</style>
|
| 22 |
-
""")
|
| 23 |
-
|
| 24 |
# --- Decomposition levels mapping ---
|
| 25 |
decomposition_map = {
|
| 26 |
"ไม่เน่า": None,
|
|
|
|
| 1 |
|
| 2 |
import gradio as gr
|
| 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
# --- Decomposition levels mapping ---
|
| 5 |
decomposition_map = {
|
| 6 |
"ไม่เน่า": None,
|