measmonysuon commited on
Commit
315eb1f
·
verified ·
1 Parent(s): e8da1df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +25 -2
app.py CHANGED
@@ -86,10 +86,33 @@ iface = gr.Interface(
86
  live=True
87
  )
88
 
 
89
  @app.route('/')
90
  def index():
91
- # Serve HTML content
92
- return send_from_directory(directory='.', path='aforativemedia.html')
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
 
94
 
95
  def run_gradio():
 
86
  live=True
87
  )
88
 
89
+ @app.route('/')
90
  @app.route('/')
91
  def index():
92
+ html_content = """
93
+ <!DOCTYPE html>
94
+ <html lang="en">
95
+ <head>
96
+ <meta charset="UTF-8">
97
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
98
+ <title>AforativeBot</title>
99
+ </head>
100
+ <body>
101
+ <h1>AforativeBot</h1>
102
+ <p><strong>AforativeBot</strong> is designed for private companies to maximize client satisfaction and improve communication in the AI era for Aforative Media Company.</p>
103
+
104
+ <h2>About Us</h2>
105
+ <p>Founded in 2016, <strong>Aforative Media (AF)</strong> has been dedicated to providing a wide range of services for nearly five years. We specialize in photography, videography, video hybrid meetings, and conference live-streaming for both local and international clients. Throughout our journey, we have continually learned and improved, striving to enhance our services every day.</p>
106
+
107
+ <p>We are proud to be a partner in digital marketing content for the hotel and tourism industry. In a digital world that demands engaging and creative content, we are committed to delivering just that. Additionally, we cherish the role of preserving precious memories for couples, families, and corporate entities.</p>
108
+
109
+ <p>Our goal is to be a reliable partner for your business, helping you grow with impactful digital content. With <strong>Aforative Media</strong>, you and your business will stay updated and keep pace with regional and global trends.</p>
110
+
111
+ <p>Connect with us via our <a href="https://t.me/aforativemedia">Telegram Chatbot</a>.</p>
112
+ </body>
113
+ </html>
114
+ """
115
+ return html_content
116
 
117
 
118
  def run_gradio():