Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -191,4 +191,11 @@ def update_iframe(n_clicks):
|
|
191 |
return result['url']
|
192 |
except Exception as e:
|
193 |
print(f"Error loading URL: {e}")
|
194 |
-
finally:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
return result['url']
|
192 |
except Exception as e:
|
193 |
print(f"Error loading URL: {e}")
|
194 |
+
finally:
|
195 |
+
conn.close() # This line was likely causing the IndentationError
|
196 |
+
return dash.no_update
|
197 |
+
|
198 |
+
if __name__ == '__main__':
|
199 |
+
print("Starting the Dash application...")
|
200 |
+
app.run(debug=True, host='0.0.0.0', port=7860)
|
201 |
+
print("Dash application has finished running.")
|