Spaces:
Running
Running
Srinivasulu kethanaboina
commited on
Update index.html
Browse files- 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.
|
234 |
|
235 |
// Open Gradio URL with unique ID
|
236 |
-
gradioFrame.src = `https://srinuksv-fastapiyes.hf.space/ch
|
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';
|