Spaces:
Runtime error
Runtime error
Commit
·
a9af270
1
Parent(s):
a6966e2
test modal connection
Browse files
app.py
CHANGED
@@ -27,12 +27,13 @@ def main():
|
|
27 |
st.title("Financial Statement Analyzer")
|
28 |
|
29 |
def test_modal_connection():
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
|
|
|
36 |
test_modal_connection()
|
37 |
|
38 |
|
|
|
27 |
st.title("Financial Statement Analyzer")
|
28 |
|
29 |
def test_modal_connection():
|
30 |
+
try:
|
31 |
+
client = modal.Client()
|
32 |
+
print("Modal client initialized successfully.")
|
33 |
+
except Exception as e:
|
34 |
+
print(f"Error initializing Modal client: {str(e)}")
|
35 |
|
36 |
+
|
37 |
test_modal_connection()
|
38 |
|
39 |
|