Update pages/GPT.py
Browse files- pages/GPT.py +2 -2
pages/GPT.py
CHANGED
@@ -33,8 +33,8 @@ def predict_sentiment(model, prompt, temp, num_generate):
|
|
33 |
no_repeat_ngram_size=3,
|
34 |
num_return_sequences=num_generate,
|
35 |
).cpu().numpy()
|
36 |
-
|
37 |
-
|
38 |
|
39 |
st.title('Text generation with dreambook')
|
40 |
|
|
|
33 |
no_repeat_ngram_size=3,
|
34 |
num_return_sequences=num_generate,
|
35 |
).cpu().numpy()
|
36 |
+
print(result)
|
37 |
+
return result
|
38 |
|
39 |
st.title('Text generation with dreambook')
|
40 |
|