Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -588,7 +588,6 @@ def predict_onnx(image_input, model_choice, gen_threshold, char_threshold, outpu
|
|
| 588 |
# --- Gradio Interface Definition (Full ONNX Version) ---
|
| 589 |
css = """
|
| 590 |
.gradio-container { font-family: 'IBM Plex Sans', sans-serif; }
|
| 591 |
-
footer { display: none !important; }
|
| 592 |
.gr-prose { max-width: 100% !important; }
|
| 593 |
"""
|
| 594 |
# js = """ /* Keep existing JS */ """ # No JS needed currently
|
|
@@ -653,4 +652,4 @@ if __name__ == "__main__":
|
|
| 653 |
|
| 654 |
initialize_onnx_paths(DEFAULT_MODEL)
|
| 655 |
# Launch Gradio app
|
| 656 |
-
demo.launch()
|
|
|
|
| 588 |
# --- Gradio Interface Definition (Full ONNX Version) ---
|
| 589 |
css = """
|
| 590 |
.gradio-container { font-family: 'IBM Plex Sans', sans-serif; }
|
|
|
|
| 591 |
.gr-prose { max-width: 100% !important; }
|
| 592 |
"""
|
| 593 |
# js = """ /* Keep existing JS */ """ # No JS needed currently
|
|
|
|
| 652 |
|
| 653 |
initialize_onnx_paths(DEFAULT_MODEL)
|
| 654 |
# Launch Gradio app
|
| 655 |
+
demo.launch(mcp_server=True)
|