Spaces:
Runtime error
Runtime error
Fix
Browse files
app.py
CHANGED
@@ -795,4 +795,23 @@ if __name__ == "__main__":
|
|
795 |
print(f"\nπ― Target Accuracy: 35%")
|
796 |
print(f"π§ Enhanced Tools: 7 specialized tools loaded")
|
797 |
print(f"π Web Search: Serper API + DuckDuckGo fallback")
|
798 |
-
print(f"π Knowledge: Wikipedia + Domain specialists")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
795 |
print(f"\nπ― Target Accuracy: 35%")
|
796 |
print(f"π§ Enhanced Tools: 7 specialized tools loaded")
|
797 |
print(f"π Web Search: Serper API + DuckDuckGo fallback")
|
798 |
+
print(f"π Knowledge: Wikipedia + Domain specialists")
|
799 |
+
print("\n" + "="*60)
|
800 |
+
|
801 |
+
# Launch the interface
|
802 |
+
try:
|
803 |
+
demo.launch(
|
804 |
+
server_name="0.0.0.0",
|
805 |
+
server_port=7860,
|
806 |
+
share=False,
|
807 |
+
show_error=True,
|
808 |
+
quiet=False
|
809 |
+
)
|
810 |
+
except Exception as e:
|
811 |
+
print(f"β Error launching Gradio interface: {e}")
|
812 |
+
print("Attempting fallback launch...")
|
813 |
+
try:
|
814 |
+
demo.launch()
|
815 |
+
except Exception as fallback_error:
|
816 |
+
print(f"β Fallback launch failed: {fallback_error}")
|
817 |
+
exit(1)
|