Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ generator = pipeline('text-generation', model='EleutherAI/gpt-neo-2.7B')
|
|
4 |
# generator("EleutherAI has", do_sample=True, min_length=50)
|
5 |
|
6 |
def generate(input_text):
|
7 |
-
return generator(input_text
|
8 |
|
9 |
iface = gr.Interface(fn = generate,
|
10 |
inputs = 'text',
|
|
|
4 |
# generator("EleutherAI has", do_sample=True, min_length=50)
|
5 |
|
6 |
def generate(input_text):
|
7 |
+
return generator(input_text )
|
8 |
|
9 |
iface = gr.Interface(fn = generate,
|
10 |
inputs = 'text',
|