File size: 954 Bytes
7f78954
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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()