Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -685,9 +685,14 @@ if __name__ == "__main__":
|
|
| 685 |
|
| 686 |
print("\n🚀 Starting Premium Real-Time Assistant...")
|
| 687 |
|
| 688 |
-
|
|
|
|
|
|
|
| 689 |
server_name="0.0.0.0",
|
| 690 |
server_port=7860,
|
| 691 |
share=False,
|
| 692 |
show_error=True
|
| 693 |
-
)
|
|
|
|
|
|
|
|
|
|
|
|
| 685 |
|
| 686 |
print("\n🚀 Starting Premium Real-Time Assistant...")
|
| 687 |
|
| 688 |
+
try:
|
| 689 |
+
demo = create_interface()
|
| 690 |
+
demo.launch(
|
| 691 |
server_name="0.0.0.0",
|
| 692 |
server_port=7860,
|
| 693 |
share=False,
|
| 694 |
show_error=True
|
| 695 |
+
)
|
| 696 |
+
except Exception as e:
|
| 697 |
+
print(f"❌ Failed to launch: {e}")
|
| 698 |
+
print("Ensure all dependencies are installed: pip install -r requirements.txt")
|