Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -339,5 +339,10 @@ def main():
|
|
| 339 |
except Exception as e:
|
| 340 |
print(f"Error launching app: {e}")
|
| 341 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 342 |
if __name__ == "__main__":
|
| 343 |
main()
|
|
|
|
| 339 |
except Exception as e:
|
| 340 |
print(f"Error launching app: {e}")
|
| 341 |
|
| 342 |
+
def launch_app(self):
|
| 343 |
+
demo = self.build_app()
|
| 344 |
+
print(f"Demo object type: {type(demo)}")
|
| 345 |
+
demo.launch()
|
| 346 |
+
|
| 347 |
if __name__ == "__main__":
|
| 348 |
main()
|