Yntec commited on
Commit
3c03595
1 Parent(s): 3d1c4e0

Update prompt_extend.py

Browse files
Files changed (1) hide show
  1. prompt_extend.py +1 -1
prompt_extend.py CHANGED
@@ -1,6 +1,6 @@
1
  from transformers import pipeline
2
 
3
- pipe = pipeline('text-generation', model='spaces/phenomenon1981/MagicPrompt-Stable-Diffusion')
4
 
5
  def extend_prompt(prompt):
6
  return pipe(prompt+',', num_return_sequences=1)[0]["generated_text"]
 
1
  from transformers import pipeline
2
 
3
+ pipe = pipeline('text-generation', model='Gustavosta/MagicPrompt-Stable-Diffusion')
4
 
5
  def extend_prompt(prompt):
6
  return pipe(prompt+',', num_return_sequences=1)[0]["generated_text"]