Spaces:
Configuration error
Configuration error
| import gradio as gr | |
| # University information for display | |
| uni_description = """ | |
| # COMSATS University Islamabad, Sahiwal Campus | |
| Welcome to our official Hugging Face Space! | |
| **Location:** Sahiwal, Punjab, Pakistan | |
| **Established:** 2006 | |
| **Focus Areas:** Artificial Intelligence, Machine Learning, Cloud Computing, Engineering, Biosciences. | |
| **Contact:** info@cuisahiwal.edu.pk | |
| ## Our Mission | |
| Advancing technology, collaborative research & innovative AI/ML applications. | |
| --- | |
| Feel free to connect with our team or explore the resources below! | |
| """ | |
| def greet(name): | |
| return f"👋 Welcome, {name}! This is the official CU Sahiwal Hugging Face Space. Explore our projects and reach out for collaboration opportunities." | |
| demo = gr.Interface( | |
| fn=greet, | |
| inputs=gr.Textbox(label="Enter your name"), | |
| outputs="text", | |
| title="CU Sahiwal Organization Space", | |
| description=uni_description | |
| ) | |
| if __name__ == "__main__": | |
| demo.launch() | |