Spaces:
Running
Running
Fix Gradio 6.0 deprecation: move theme to launch()
Browse filesCo-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
app.py
CHANGED
|
@@ -906,7 +906,7 @@ def process_uploaded_file(file, compute_shap):
|
|
| 906 |
def create_gradio_interface():
|
| 907 |
"""Create the Gradio web interface with tabs."""
|
| 908 |
|
| 909 |
-
with gr.Blocks(title="miRBind2: miRNA-mRNA Binding Predictor"
|
| 910 |
gr.Markdown("""
|
| 911 |
# miRBind2: miRNA-mRNA Binding Site Predictor
|
| 912 |
|
|
@@ -1093,7 +1093,8 @@ def main():
|
|
| 1093 |
share=False, # Set to True to create public link
|
| 1094 |
server_name="0.0.0.0", # Required for containerized hosting (HF Spaces)
|
| 1095 |
server_port=7860,
|
| 1096 |
-
show_error=True
|
|
|
|
| 1097 |
)
|
| 1098 |
|
| 1099 |
|
|
|
|
| 906 |
def create_gradio_interface():
|
| 907 |
"""Create the Gradio web interface with tabs."""
|
| 908 |
|
| 909 |
+
with gr.Blocks(title="miRBind2: miRNA-mRNA Binding Predictor") as app:
|
| 910 |
gr.Markdown("""
|
| 911 |
# miRBind2: miRNA-mRNA Binding Site Predictor
|
| 912 |
|
|
|
|
| 1093 |
share=False, # Set to True to create public link
|
| 1094 |
server_name="0.0.0.0", # Required for containerized hosting (HF Spaces)
|
| 1095 |
server_port=7860,
|
| 1096 |
+
show_error=True,
|
| 1097 |
+
theme=gr.themes.Soft()
|
| 1098 |
)
|
| 1099 |
|
| 1100 |
|