Really-amin commited on
Commit
6c61a9a
·
verified ·
1 Parent(s): f291dae

Update script.js

Browse files
Files changed (1) hide show
  1. script.js +2 -2
script.js CHANGED
@@ -19,8 +19,8 @@ document.addEventListener("DOMContentLoaded", function () {
19
  userInput.value = "";
20
 
21
  try {
22
- // ارسال پیام به سرور Streamlit
23
- const response = await fetch("?generate=true&message=" + encodeURIComponent(message), {
24
  method: "GET",
25
  headers: { "Content-Type": "application/json" },
26
  });
 
19
  userInput.value = "";
20
 
21
  try {
22
+ // ارسال پیام به سرور
23
+ const response = await fetch("?message=" + encodeURIComponent(message), {
24
  method: "GET",
25
  headers: { "Content-Type": "application/json" },
26
  });