final assignment gaia agent tools v0
Browse files
    	
        app.py
    CHANGED
    
    | @@ -146,10 +146,10 @@ with gr.Blocks() as demo: | |
| 146 | 
             
            if __name__ == "__main__":
         | 
| 147 | 
             
                print("\n" + "-"*30 + " App Starting " + "-"*30)
         | 
| 148 | 
             
                # Check for SPACE_HOST and SPACE_ID at startup for information
         | 
| 149 | 
            -
                space_host_startup = "https://avfranco-final-assignment-template.hf.space" #os.getenv("SPACE_HOST")
         | 
| 150 | 
            -
                space_id_startup = "avfranco/final_assignment_template" #os.getenv("SPACE_ID") # Get SPACE_ID at startup
         | 
| 151 | 
            -
                 | 
| 152 | 
            -
                 | 
| 153 |  | 
| 154 | 
             
                if space_host_startup:
         | 
| 155 | 
             
                    print(f"✅ SPACE_HOST found: {space_host_startup}")
         | 
|  | |
| 146 | 
             
            if __name__ == "__main__":
         | 
| 147 | 
             
                print("\n" + "-"*30 + " App Starting " + "-"*30)
         | 
| 148 | 
             
                # Check for SPACE_HOST and SPACE_ID at startup for information
         | 
| 149 | 
            +
                #space_host_startup = "https://avfranco-final-assignment-template.hf.space" #os.getenv("SPACE_HOST")
         | 
| 150 | 
            +
                #space_id_startup = "avfranco/final_assignment_template" #os.getenv("SPACE_ID") # Get SPACE_ID at startup
         | 
| 151 | 
            +
                space_host_startup = os.getenv("SPACE_HOST")
         | 
| 152 | 
            +
                space_id_startup = os.getenv("SPACE_ID") # Get SPACE_ID at startup
         | 
| 153 |  | 
| 154 | 
             
                if space_host_startup:
         | 
| 155 | 
             
                    print(f"✅ SPACE_HOST found: {space_host_startup}")
         | 
 
			
