Spaces:
Running
Running
Srinivasulu kethanaboina
commited on
Update index.html
Browse files- index.html +3 -3
index.html
CHANGED
@@ -204,7 +204,7 @@ function handleUserInput(input) {
|
|
204 |
chatBox.style.display = 'none';
|
205 |
formContainer.style.display = 'none';
|
206 |
chatIcon.style.display = 'none'; // Hide chat icon
|
207 |
-
gradioFrame.src = 'https://
|
208 |
botMessage.textContent = 'Loading Salesforce chatbot...'; // Optional: Notify the user
|
209 |
break;
|
210 |
default:
|
@@ -244,9 +244,9 @@ function openGradioChat() {
|
|
244 |
|
245 |
// Set the iframe source based on the selected chatbot
|
246 |
if (selectedChatbot === "Clara") {
|
247 |
-
gradioIframe.src = "https://
|
248 |
} else {
|
249 |
-
gradioIframe.src = "https://
|
250 |
}
|
251 |
|
252 |
// Display the chat icon
|
|
|
204 |
chatBox.style.display = 'none';
|
205 |
formContainer.style.display = 'none';
|
206 |
chatIcon.style.display = 'none'; // Hide chat icon
|
207 |
+
gradioFrame.src = 'https://srinuksv-fastapi.hf.space/'; // Replace with your Gradio chatbot URL
|
208 |
botMessage.textContent = 'Loading Salesforce chatbot...'; // Optional: Notify the user
|
209 |
break;
|
210 |
default:
|
|
|
244 |
|
245 |
// Set the iframe source based on the selected chatbot
|
246 |
if (selectedChatbot === "Clara") {
|
247 |
+
gradioIframe.src = "https://srinuksv-fastapi.hf.space/";
|
248 |
} else {
|
249 |
+
gradioIframe.src = "https://srinuksv-fastapi.hf.space/";
|
250 |
}
|
251 |
|
252 |
// Display the chat icon
|