RenAzum commited on
Commit
55dc54d
1 Parent(s): 784b9d2

Update Card

Browse files
Files changed (4) hide show
  1. .gitignore +1 -0
  2. README.md +15 -21
  3. app.py +39 -4
  4. src/renesis-tech.jpg +0 -0
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ .venv
README.md CHANGED
@@ -1,38 +1,32 @@
1
- ---
2
- title: RENESISTECH
3
- emoji: 🐢
4
- colorFrom: blue
5
- colorTo: purple
6
- sdk: gradio
7
- pinned: True
8
- ---
9
 
10
-
11
- # Your Organization Name
12
-
13
- [Image of your organization's logo]
14
 
15
  **Description:**
16
- *Briefly explain what your organization does, its goals, and why it's important.*
17
 
18
  **Website:**
19
- *Link to your organization's website*
20
 
21
  **Social Media:**
22
- *Links to your organization's social media profiles (e.g., Twitter, LinkedIn)*
 
 
 
 
23
 
24
  **Repositories:**
25
- *Links to your organization's most important or popular repositories*
26
 
27
  **Members:**
28
  *List of your organization's members*
29
 
30
  **Contact:**
31
- *Email address or phone number*
 
32
 
33
  **Organization Type:**
34
- *Choose the appropriate organization type from Hugging Face's options*
 
 
35
 
36
- **Featured Repositories:**
37
- *List of your featured repositories (optional)*
38
- Edit this `README.md` markdown file to author your organization card.
 
1
+ # RENESIS TECH
 
 
 
 
 
 
 
2
 
3
+ ![Image of your organization's logo](/src/renesis-tech.jpg)
 
 
 
4
 
5
  **Description:**
6
+ *Providing state-of-the-Art solutions related in the field of game development, web3, and AI.*
7
 
8
  **Website:**
9
+ [Our Company Page](https://renesistech.com/services)
10
 
11
  **Social Media:**
12
+ - [LinkedIn](https://www.linkedin.com/company/renesis-tech/)
13
+ - [Clutch](https://clutch.co/profile/renesis-tech?#highlights)
14
+ - [Twitter](https://twitter.com/renesis_tech)
15
+ - [Instagram](https://www.instagram.com/renesis.ui/?hl=en)
16
+ - [Facebook](https://www.facebook.com/renesistech)
17
 
18
  **Repositories:**
19
+ *Coming Soon*
20
 
21
  **Members:**
22
  *List of your organization's members*
23
 
24
  **Contact:**
25
+ - Email: *info@renesistech.com*
26
+ - SkypeID: *Renesistech*
27
 
28
  **Organization Type:**
29
+ *Company to incubate innovation*
30
+
31
+
32
 
 
 
 
app.py CHANGED
@@ -1,8 +1,43 @@
1
  import gradio as gr
 
2
 
3
- def greet(name):
4
- return "Hello " + name + "!!"
 
 
 
5
 
6
- demo = gr.Interface(fn=greet, inputs="text", outputs="text")
 
7
 
8
- demo.launch()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import gradio as gr
2
+ import smtplib
3
 
4
+ def send_email(name, email, message):
5
+ # Replace with your email credentials
6
+ sender_email = "your_email@gmail.com"
7
+ sender_password = "your_password"
8
+ receiver_email = "recipient_email@example.com"
9
 
10
+ # Create a secure SSL context
11
+ context = smtplib.SSLContext()
12
 
13
+ # Connect to the Gmail SMTP server
14
+ with smtplib.SMTP_SSL("smtp.gmail.com", 465, context=context) as server:
15
+ server.login(sender_email, sender_password)
16
+
17
+ # Craft the email message
18
+ subject = "New Message from Your Website"
19
+ body = f"Name: {name}\nEmail: {email}\nMessage: {message}"
20
+ message = f"Subject: {subject}\n\n{body}"
21
+
22
+ # Send the email
23
+ server.sendmail(sender_email, receiver_email, message)
24
+
25
+ return "Email sent successfully!"
26
+
27
+ # Create the Gradio interface
28
+ iface = gr.Interface(
29
+ fn=send_email,
30
+ inputs=[
31
+ gr.Textbox(label="Name"),
32
+ gr.Textbox(label="Email"),
33
+ gr.Textbox(label="Message"),
34
+ ],
35
+ outputs="text",
36
+ title="Contact Us",
37
+ )
38
+
39
+ # Add a logo to the top center
40
+ iface.logo = "your_logo.png"
41
+
42
+ # Launch the Gradio app
43
+ iface.launch()
src/renesis-tech.jpg ADDED