Spaces:
Build error
Build error
bug
Browse files- src/gradio/app.py +13 -10
- src/gradio/pages/ml_tab.py +1 -1
src/gradio/app.py
CHANGED
|
@@ -53,16 +53,19 @@ def build_app():
|
|
| 53 |
from .pages.dl_execution_tab import render_dl_execution_tab
|
| 54 |
from .config import UI_EXAMPLES
|
| 55 |
|
| 56 |
-
with gr.Blocks(
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
|
|
|
|
|
|
|
|
|
| 66 |
gr.Markdown(f"# {app_title}\n{app_desc_ml} / {app_desc_dl_exec}")
|
| 67 |
with gr.Tabs():
|
| 68 |
# Onglet 1 : ML
|
|
|
|
| 53 |
from .pages.dl_execution_tab import render_dl_execution_tab
|
| 54 |
from .config import UI_EXAMPLES
|
| 55 |
|
| 56 |
+
with gr.Blocks(title=app_title) as demo:
|
| 57 |
+
|
| 58 |
+
gr.HTML(
|
| 59 |
+
"""
|
| 60 |
+
<style>
|
| 61 |
+
#physical_level_text textarea,
|
| 62 |
+
#physical_level_text input {
|
| 63 |
+
color: #ffffff !important;
|
| 64 |
+
font-weight: 500;
|
| 65 |
+
}
|
| 66 |
+
</style>
|
| 67 |
+
"""
|
| 68 |
+
)
|
| 69 |
gr.Markdown(f"# {app_title}\n{app_desc_ml} / {app_desc_dl_exec}")
|
| 70 |
with gr.Tabs():
|
| 71 |
# Onglet 1 : ML
|
src/gradio/pages/ml_tab.py
CHANGED
|
@@ -123,7 +123,7 @@ def render_ml_tab(
|
|
| 123 |
label="Physical level (text)",
|
| 124 |
value="",
|
| 125 |
placeholder="Prediction will appear here",
|
| 126 |
-
interactive=
|
| 127 |
lines=1,
|
| 128 |
max_lines=1,
|
| 129 |
elem_id="physical_level_text",
|
|
|
|
| 123 |
label="Physical level (text)",
|
| 124 |
value="",
|
| 125 |
placeholder="Prediction will appear here",
|
| 126 |
+
interactive=False,
|
| 127 |
lines=1,
|
| 128 |
max_lines=1,
|
| 129 |
elem_id="physical_level_text",
|