Spaces:
Running
Running
FumesAI
commited on
Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -94,7 +94,7 @@ response = requests.post('https://fumes-api.onrender.com/llama3',
|
|
94 |
"maxTokens": 600
|
95 |
|
96 |
}, stream=True)
|
97 |
-
for chunk in response.iter_content():
|
98 |
if chunk:
|
99 |
print(chunk.decode('utf-8'))
|
100 |
print(r.text)
|
|
|
94 |
"maxTokens": 600
|
95 |
|
96 |
}, stream=True)
|
97 |
+
for chunk in response.iter_content(chunk_size=1024):
|
98 |
if chunk:
|
99 |
print(chunk.decode('utf-8'))
|
100 |
print(r.text)
|