placed outputs in the .join() inside the llama_generation
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ def llama_generation(input_text: str,
|
|
78 |
outputs = []
|
79 |
for text in streamer:
|
80 |
outputs.append(text)
|
81 |
-
yield "".join(
|
82 |
|
83 |
# Convert output into string
|
84 |
print(output_list(outputs))
|
|
|
78 |
outputs = []
|
79 |
for text in streamer:
|
80 |
outputs.append(text)
|
81 |
+
yield "".join(outputs)
|
82 |
|
83 |
# Convert output into string
|
84 |
print(output_list(outputs))
|