diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml new file mode 100644 index 00000000..f2c0f2af --- /dev/null +++ b/.github/workflows/django.yml @@ -0,0 +1,30 @@ +name: Django CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + max-parallel: 4 + matrix: + python-version: [3.7, 3.8, 3.9] + + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - name: Install Dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Run Tests + run: | + python manage.py test diff --git a/Search stack b/Search stack new file mode 100644 index 00000000..65b28178 --- /dev/null +++ b/Search stack @@ -0,0 +1,18 @@ +--- +created: 2023-09-08T11:34:25+02:00 +modified: 2023-09-08T11:35:14+02:00 +--- + +# Search stack overflow + +--------------------------------------------------------------------------- +NameError Traceback (most recent call last) + in () + 4 style_name = 'munch_scream' # @param ['kanagawa_great_wave', 'kandinsky_composition_7', 'hubble_pillars_of_creation', 'van_gogh_starry_night', 'turner_nantes', 'munch_scream', 'picasso_demoiselles_avignon', 'picasso_violin', 'picasso_bottle_of_rum', 'fire', 'derkovits_woman_head', 'amadeo_style_life', 'derkovtis_talig', 'amadeo_cardoso'] + 5 +----> 6 stylized_image = hub_module(tf.constant(content_images[content_name]), + 7 tf.constant(style_images[style_name]))[0] + 8 + +NameError: name 'hub_module' is not defined +SEARCH STACK OVERFLOW