FrederickSundeep commited on
Commit
f1e35a8
·
1 Parent(s): e2487ef

commit 000000231

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. src/components/ChatApp.jsx +1 -1
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: ChatMateApp
3
  emoji: 🐠
4
  colorFrom: indigo
5
  colorTo: red
 
1
  ---
2
+ title: ChatMate
3
  emoji: 🐠
4
  colorFrom: indigo
5
  colorTo: red
src/components/ChatApp.jsx CHANGED
@@ -34,7 +34,7 @@ const examples = [
34
  //const assistant = { role: 'assistant', content: '', time };
35
  //setHistory(h => [...h, assistant]);
36
 
37
- const response = await fetch('https://fredericksundeep-aichatmatedev.hf.space/chat-stream', {
38
  method: 'POST',
39
  headers: { 'Content-Type': 'application/json' },
40
  body: JSON.stringify({ message, history: newHistory }),
 
34
  //const assistant = { role: 'assistant', content: '', time };
35
  //setHistory(h => [...h, assistant]);
36
 
37
+ const response = await fetch('https://fredericksundeep-aiapisgateway.hf.space/chat-stream', {
38
  method: 'POST',
39
  headers: { 'Content-Type': 'application/json' },
40
  body: JSON.stringify({ message, history: newHistory }),