Spaces:
Runtime error
Runtime error
Commit
·
04f0ad3
1
Parent(s):
5c021cf
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ from transformers import pipeline, set_seed
|
|
| 2 |
import gradio as grad, random, re
|
| 3 |
|
| 4 |
|
| 5 |
-
gpt2_pipe = pipeline('text-generation', model='
|
| 6 |
with open("ideas.txt", "r") as f:
|
| 7 |
line = f.readlines()
|
| 8 |
|
|
|
|
| 2 |
import gradio as grad, random, re
|
| 3 |
|
| 4 |
|
| 5 |
+
gpt2_pipe = pipeline('text-generation', model='Gustavosta/MagicPrompt-Stable-Diffusion', tokenizer='gpt2')
|
| 6 |
with open("ideas.txt", "r") as f:
|
| 7 |
line = f.readlines()
|
| 8 |
|