Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -595,6 +595,8 @@ def start_fastapi_server():
|
|
| 595 |
def create_gradio_interface():
|
| 596 |
"""Create the Gradio interface with server status monitoring"""
|
| 597 |
search_interface = ICD10SearchInterface()
|
|
|
|
|
|
|
| 598 |
|
| 599 |
css = """
|
| 600 |
.gradio-container {
|
|
|
|
| 595 |
def create_gradio_interface():
|
| 596 |
"""Create the Gradio interface with server status monitoring"""
|
| 597 |
search_interface = ICD10SearchInterface()
|
| 598 |
+
|
| 599 |
+
search_interface.wait_for_server(max_wait_time=60)
|
| 600 |
|
| 601 |
css = """
|
| 602 |
.gradio-container {
|