LamiaYT commited on
Commit
283aa38
Β·
1 Parent(s): 1f056f8
Files changed (1) hide show
  1. app.py +20 -1
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)