Fraser commited on
Commit
47b6a85
·
1 Parent(s): 83f023c
src/lib/components/PicletGenerator/PicletGenerator.svelte CHANGED
@@ -77,7 +77,6 @@
77
  // ChatInterface expects: message, history, max_new_tokens
78
  const result = await client.predict("/chat", {
79
  message: message,
80
- history: [], // Empty history for single-turn generation
81
  max_new_tokens: 2000 // Max from the space
82
  });
83
 
 
77
  // ChatInterface expects: message, history, max_new_tokens
78
  const result = await client.predict("/chat", {
79
  message: message,
 
80
  max_new_tokens: 2000 // Max from the space
81
  });
82