This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prototype(Flowpack.FusionBP:RecursiveMenu) < prototype(Neos.Fusion:Array) { | |
@process.tmpl = ${'<li>' + value + '</li>'} | |
title = ${node.properties.title || '<em>' + node.name + '</em>'} | |
nextLevel = Neos.Fusion:Collection { | |
@process.tmpl = ${'<ul>' + value + '</ul>'} | |
@[email protected] = ${q(node).children().count() > 0} | |
collection = ${q(node).children().get()} | |
itemName = 'node' | |
itemRenderer = Flowpack.FusionBP:RecursiveMenu | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from __future__ import unicode_literals | |
from django.db import migrations, models | |
from wagtail.wagtailcore.models import Page, Site | |
def forwards_func(apps, schema_editor): | |
HomePage = apps.get_model('website', 'HomePage') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prototype(My.Package:Form.DefaultElement) < prototype(Neos.Fusion:Component) { | |
# API | |
id = '' | |
name = '' | |
label = '' | |
value = null | |
isRequired = false | |
properties = Neos.Fusion:RawArray | |
validationErrors = Neos.Fusion:RawArray |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Original author: https://twitter.com/esizkur/status/1579207536812904448 | |
git clone https://github.com/ggerganov/whisper.cpp | |
cd whisper.cpp | |
make | |
./download-ggml-model.sh large | |
ffmpeg -i recording.m4a -acodec pcm_s16le -ar 16000 recording.wav | |
./main -m models/ggml-large.bin -l de -f recording.wav | tee transcript.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Clone the repo | |
git clone https://github.com/imartinez/privateGPT | |
cd privateGPT | |
# Install Python 3.11 | |
pyenv install 3.11 | |
pyenv local 3.11 | |
# Install dependencies | |
poetry install --with ui,local |
OlderNewer