Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import sys
|
|
| 6 |
gpt2_pipe = pipeline('text-generation', model='Gustavosta/MagicPrompt-Stable-Diffusion', tokenizer='gpt2')
|
| 7 |
|
| 8 |
def generate(starting_text):
|
| 9 |
-
with open("
|
| 10 |
line = f.readlines()
|
| 11 |
seed = random.randint(100, 1000000)
|
| 12 |
set_seed(seed)
|
|
|
|
| 6 |
gpt2_pipe = pipeline('text-generation', model='Gustavosta/MagicPrompt-Stable-Diffusion', tokenizer='gpt2')
|
| 7 |
|
| 8 |
def generate(starting_text):
|
| 9 |
+
with open("bing prompts.txt", "r") as f:
|
| 10 |
line = f.readlines()
|
| 11 |
seed = random.randint(100, 1000000)
|
| 12 |
set_seed(seed)
|