Spaces:
Sleeping
Sleeping
Update src/App.jsx
Browse files- src/App.jsx +1 -1
src/App.jsx
CHANGED
|
@@ -52,7 +52,7 @@ function App() {
|
|
| 52 |
|
| 53 |
try {
|
| 54 |
// The API call to our FastAPI backend
|
| 55 |
-
const response = await fetch('https://nova-chatbot-
|
| 56 |
method: 'POST',
|
| 57 |
headers: { 'Content-Type': 'application/json' },
|
| 58 |
body: JSON.stringify({ user_message: userInput }),
|
|
|
|
| 52 |
|
| 53 |
try {
|
| 54 |
// The API call to our FastAPI backend
|
| 55 |
+
const response = await fetch('https://nova-chatbot-chatbot-backend.hf.space/chat', {
|
| 56 |
method: 'POST',
|
| 57 |
headers: { 'Content-Type': 'application/json' },
|
| 58 |
body: JSON.stringify({ user_message: userInput }),
|