bump v0.0.1+2

This commit is contained in:
poka 2023-01-09 01:22:13 +01:00
parent d6ff18a769
commit 5f47c2e588
4 changed files with 8 additions and 5 deletions

View File

@ -7,10 +7,8 @@ import 'package:openai_gpt3_api/completion.dart';
import 'package:openai_gpt3_api/openai_gpt3_api.dart';
class OpenAI {
// final openaiSecret;
late GPT3 gpt;
// final prompt = TextEditingController();
final prompt =
StateProvider<TextEditingController>((ref) => TextEditingController());
final isLoading = StateProvider<bool>((ref) => false);

View File

@ -145,6 +145,11 @@ class _BoguiState extends ConsumerState<Bogui> {
),
),
),
const SizedBox(height: 5),
const Text(
'ctrl + entrer',
style: TextStyle(fontSize: 12, fontWeight: FontWeight.w100),
),
const SizedBox(height: 40),
]),
const Spacer(),

View File

@ -5,7 +5,7 @@ description: Qu'ils aillent tous se faire enculer.
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 0.0.0+1
version: 0.0.1+2
environment:
sdk: '>=2.18.6 <3.0.0'

View File

@ -7,12 +7,12 @@ OPENAI_SECRET_KEY=$1
flutter clean && flutter pub get
if [[ $1 == "html" ]]; then
if [[ $2 == "html" ]]; then
rm -rf /home/poka/dev/bogui/build/web && flutter build web --web-renderer html --dart-define=OPENAPI_SECRET_KEY=${OPENAI_SECRET_KEY}
ssh -p 10322 poka@p2p.legal 'rm -rf /home/poka/bogui-html && mkdir /home/poka/bogui-html'
rs /home/poka/dev/bogui/build/web poka@p2p.legal:/home/poka/bogui-html/ 10322
else
rm -rf /home/poka/dev/bogui/build/web && flutter build web --web-renderer canvaskit --dart-define=OPENAPI_SECRET_KEY=${OPENAI_SECRET_KEY}
ssh -p 10322 poka@p2p.legal 'rm -rf /home/poka/bogui-web && mkdir /home/poka/bogui-web'
ssh -p 10322 poka@p2p.legal 'rm -rf /home/poka/bogui && mkdir /home/poka/bogui'
rs /home/poka/dev/bogui/build/web poka@p2p.legal:/home/poka/bogui/ 10322
fi