JairoDanielMT commited on
Commit
b249af6
·
verified ·
1 Parent(s): 62bce71

Update script.js

Browse files
Files changed (1) hide show
  1. script.js +1 -1
script.js CHANGED
@@ -9,7 +9,7 @@ document.getElementById('request-form').addEventListener('submit', async (event)
9
 
10
  try {
11
  // Realizar la solicitud asíncrona a la API
12
- const response = await fetch('http://localhost:7860/api/IA/ask', {
13
  method: 'POST',
14
  headers: {
15
  'Accept': 'application/json',
 
9
 
10
  try {
11
  // Realizar la solicitud asíncrona a la API
12
+ const response = await fetch('https://jairodanielmt-api-reqgen.hf.space/api/IA/ask', {
13
  method: 'POST',
14
  headers: {
15
  'Accept': 'application/json',