Srinivasulu kethanaboina commited on
Commit
990556b
·
verified ·
1 Parent(s): 2f6f6d0

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +2 -2
index.html CHANGED
@@ -230,10 +230,10 @@
230
 
231
  const result = await response.json();
232
  // Assuming the response contains a unique ID
233
- const uniqueID = result.uniqueID; // Update according to your server response structure
234
 
235
  // Open Gradio URL with unique ID
236
- gradioFrame.src = `https://srinuksv-fastapiyes.hf.space/ch/?uniqueID=${uniqueID}`;
237
 
238
  // Hide form container and show Gradio iframe
239
  formContainer.style.display = 'none';
 
230
 
231
  const result = await response.json();
232
  // Assuming the response contains a unique ID
233
+ const uniqueID = result.id; // Update according to your server response structure
234
 
235
  // Open Gradio URL with unique ID
236
+ gradioFrame.src = `https://srinuksv-fastapiyes.hf.space/ch/${uniqueID}`;
237
 
238
  // Hide form container and show Gradio iframe
239
  formContainer.style.display = 'none';