sandz7 commited on
Commit
cb9d047
1 Parent(s): 919a997

just returned the text from streamer

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -67,9 +67,8 @@ def chat_llama3_8b(message: str,
67
 
68
  outputs = []
69
  for text in streamer:
70
- outputs.append(text)
71
- #print(outputs)
72
- yield "".join(outputs)
73
 
74
 
75
  # Gradio block
 
67
 
68
  outputs = []
69
  for text in streamer:
70
+ print(text)
71
+ return text
 
72
 
73
 
74
  # Gradio block