Spaces:
Sleeping
Sleeping
acecalisto3
commited on
Commit
•
6ce3660
1
Parent(s):
88e9b5a
Update index.mts
Browse files
index.mts
CHANGED
@@ -94,7 +94,7 @@ app.get('/app', async (req, res) => {
|
|
94 |
|
95 |
while (nbAttempts-- > 0) {
|
96 |
files = await generateFiles(
|
97 |
-
`${req.query.prompt ||
|
98 |
token,
|
99 |
(chunk: string) => {
|
100 |
res.write(chunk)
|
@@ -124,3 +124,4 @@ app.get('/app', async (req, res) => {
|
|
124 |
|
125 |
app.listen(port, () => { console.log(`Open http://localhost:${port}`) })
|
126 |
|
|
|
|
94 |
|
95 |
while (nbAttempts-- > 0) {
|
96 |
files = await generateFiles(
|
97 |
+
`${req.query.prompt || ""}`,
|
98 |
token,
|
99 |
(chunk: string) => {
|
100 |
res.write(chunk)
|
|
|
124 |
|
125 |
app.listen(port, () => { console.log(`Open http://localhost:${port}`) })
|
126 |
|
127 |
+
|