Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def generate_answers(start_prompt):
|
|
48 |
tokens_generated= []
|
49 |
|
50 |
text_out = text_process_pipeline(start_prompt)
|
51 |
-
predictions,_ =
|
52 |
results = np.argmax(predictions, axis=1)[0]
|
53 |
|
54 |
while num_tokens_generated <= 40:
|
|
|
48 |
tokens_generated= []
|
49 |
|
50 |
text_out = text_process_pipeline(start_prompt)
|
51 |
+
predictions,_ = model.predict(text_out)
|
52 |
results = np.argmax(predictions, axis=1)[0]
|
53 |
|
54 |
while num_tokens_generated <= 40:
|