Srinivasulu kethanaboina commited on
Commit
f4e2fed
·
verified ·
1 Parent(s): 3da3cd7

Update index.html

Browse files
Files changed (1) hide show
  1. 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://srinukethanaboina-ghj.static.hf.space'; // Replace with your Gradio chatbot URL
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://srinukethanaboina-ghj.static.hf.space";
248
  } else {
249
- gradioIframe.src = "https://srinukethanaboina-srunu.hf.space";
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