prasanth345 commited on
Commit
c8f26c2
·
verified ·
1 Parent(s): e8139a9

Rename templates/chat.html to templates/chatbot.html

Browse files
Files changed (2) hide show
  1. templates/chat.html +0 -24
  2. templates/chatbot.html +17 -0
templates/chat.html DELETED
@@ -1,24 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
7
- <title>Hotel Booking Chat</title>
8
- </head>
9
- <body>
10
- <header>
11
- <h1>Chat with Our Virtual Assistant</h1>
12
- <p>Get help with hotel bookings through voice or text</p>
13
- </header>
14
- <main>
15
- <div id="chat-container">
16
- <div id="chat-history"></div>
17
- <input type="text" id="user-input" placeholder="Type your message...">
18
- <button id="send-button">Send</button>
19
- <button id="voice-chat">Start Voice Chat</button>
20
- </div>
21
- </main>
22
- <script src="{{ url_for('static', filename='script.js') }}"></script>
23
- </body>
24
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
templates/chatbot.html ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Chatbot - Hotel Booking</title>
5
+ <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
6
+ </head>
7
+ <body>
8
+ <h1>Hotel Booking Chatbot</h1>
9
+ <div id="chatbot"></div>
10
+ <script src="https://cdn.jsdelivr.net/npm/gradio"></script>
11
+ <script>
12
+ gr.Interface({
13
+ src: "/chatbot"
14
+ }).render("#chatbot");
15
+ </script>
16
+ </body>
17
+ </html>