Spaces:
Runtime error
Runtime error
Commit
·
a973dfb
1
Parent(s):
17ec7d1
Update static/main.js
Browse files- static/main.js +1 -1
static/main.js
CHANGED
@@ -28,7 +28,7 @@ generateButton.addEventListener('click', async () => {
|
|
28 |
|
29 |
const data = await response.json();
|
30 |
const outputText = data.generated_text;
|
31 |
-
|
32 |
// Second step update: Model completed running
|
33 |
outputTextArea.value = outputText;
|
34 |
} catch (error) {
|
|
|
28 |
|
29 |
const data = await response.json();
|
30 |
const outputText = data.generated_text;
|
31 |
+
console.log("Generated text",outputText.toString());
|
32 |
// Second step update: Model completed running
|
33 |
outputTextArea.value = outputText;
|
34 |
} catch (error) {
|