Пример #1
0
from cards.generate import generate_card

for i in range(10):
    c = generate_card()
    print('\n')
    print(c)
    print(c.image)
Пример #2
0
def index():
    card = generate_card()
    return render_template('card.html', card=card)