casuallm
Browse files- app.py +1 -1
- requirements.txt +1 -1
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import pipeline, set_seed
|
3 |
|
4 |
|
5 |
-
generator = pipeline('text-generation', model='EleutherAI/
|
6 |
set_seed(42)
|
7 |
|
8 |
|
|
|
2 |
from transformers import pipeline, set_seed
|
3 |
|
4 |
|
5 |
+
generator = pipeline('text-generation', model='EleutherAI/GPTNeoForCausalLM', return_full_text=False)
|
6 |
set_seed(42)
|
7 |
|
8 |
|
requirements.txt
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
transformers
|
2 |
-
|
|
|
1 |
transformers
|
2 |
+
torch
|