BikoRiko commited on
Commit
06abf02
·
verified ·
1 Parent(s): 63fe6df

Upload index.html with huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +11 -8
index.html CHANGED
@@ -3,9 +3,11 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>DuckDuckGo AI Chatbot</title>
7
  <link rel="stylesheet" href="style.css">
8
  <link rel="preconnect" href="https://cdn.jsdelivr.net">
 
 
9
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
10
  </head>
11
  <body>
@@ -24,7 +26,7 @@
24
  </linearGradient>
25
  </defs>
26
  </svg>
27
- <h1>DuckAI Chat</h1>
28
  </div>
29
  <div class="header-links">
30
  <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" class="anycoder-link">
@@ -37,7 +39,7 @@
37
  <!-- Status Bar -->
38
  <div class="status-bar" id="statusBar">
39
  <div class="status-indicator"></div>
40
- <span id="statusText">Ready to chat</span>
41
  </div>
42
 
43
  <!-- Chat Container -->
@@ -53,14 +55,15 @@
53
  </svg>
54
  </div>
55
  <div class="message-content">
56
- <p>👋 Hello! I'm your AI assistant powered by DuckDuckGo's Instant Answer API.</p>
57
- <p>Ask me anything - I can search the web in real-time to get you accurate answers, definitions, and information on any topic!</p>
58
  <div class="example-queries">
59
  <p><strong>Try asking:</strong></p>
60
  <ul>
61
  <li>"What is quantum computing?"</li>
62
  <li>"Who is the president of France?"</li>
63
  <li>"What is the capital of Japan?"</li>
 
64
  </ul>
65
  </div>
66
  </div>
@@ -81,8 +84,8 @@
81
  >
82
  <button type="submit" id="sendButton">
83
  <svg width="20" height="20" viewBox="0 0 24 24" fill="none">
84
- <path d="M22 2L11 13" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
85
- <path d="M22 2L15 22L11 13L2 9L22 2Z" stroke="currentColor" stroke-width="2" stroke-linejoin="round"/>
86
  </svg>
87
  </button>
88
  </div>
@@ -112,7 +115,7 @@
112
  <span></span>
113
  <span></span>
114
  </div>
115
- <span class="loading-text">Searching DuckDuckGo...</span>
116
  </div>
117
  </div>
118
  </template>
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>AI Web Search Assistant</title>
7
  <link rel="stylesheet" href="style.css">
8
  <link rel="preconnect" href="https://cdn.jsdelivr.net">
9
+ <link rel="preconnect" href="https://fonts.googleapis.com">
10
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
11
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
12
  </head>
13
  <body>
 
26
  </linearGradient>
27
  </defs>
28
  </svg>
29
+ <h1>AI Web Search</h1>
30
  </div>
31
  <div class="header-links">
32
  <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" class="anycoder-link">
 
39
  <!-- Status Bar -->
40
  <div class="status-bar" id="statusBar">
41
  <div class="status-indicator"></div>
42
+ <span id="statusText">Ready to search</span>
43
  </div>
44
 
45
  <!-- Chat Container -->
 
55
  </svg>
56
  </div>
57
  <div class="message-content">
58
+ <p>🔍 <strong>AI Web Search Assistant</strong></p>
59
+ <p>Ask me anything! I'll search the web to find you accurate answers, definitions, and information on any topic.</p>
60
  <div class="example-queries">
61
  <p><strong>Try asking:</strong></p>
62
  <ul>
63
  <li>"What is quantum computing?"</li>
64
  <li>"Who is the president of France?"</li>
65
  <li>"What is the capital of Japan?"</li>
66
+ <li>"Define artificial intelligence"</li>
67
  </ul>
68
  </div>
69
  </div>
 
84
  >
85
  <button type="submit" id="sendButton">
86
  <svg width="20" height="20" viewBox="0 0 24 24" fill="none">
87
+ <circle cx="11" cy="11" r="8" stroke="currentColor" stroke-width="2"/>
88
+ <path d="M21 21L16.65 16.65" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
89
  </svg>
90
  </button>
91
  </div>
 
115
  <span></span>
116
  <span></span>
117
  </div>
118
+ <span class="loading-text">Searching the web...</span>
119
  </div>
120
  </div>
121
  </template>