bump v0.0.1+2
This commit is contained in:
parent
d6ff18a769
commit
5f47c2e588
|
@ -7,10 +7,8 @@ import 'package:openai_gpt3_api/completion.dart';
|
||||||
import 'package:openai_gpt3_api/openai_gpt3_api.dart';
|
import 'package:openai_gpt3_api/openai_gpt3_api.dart';
|
||||||
|
|
||||||
class OpenAI {
|
class OpenAI {
|
||||||
// final openaiSecret;
|
|
||||||
late GPT3 gpt;
|
late GPT3 gpt;
|
||||||
|
|
||||||
// final prompt = TextEditingController();
|
|
||||||
final prompt =
|
final prompt =
|
||||||
StateProvider<TextEditingController>((ref) => TextEditingController());
|
StateProvider<TextEditingController>((ref) => TextEditingController());
|
||||||
final isLoading = StateProvider<bool>((ref) => false);
|
final isLoading = StateProvider<bool>((ref) => false);
|
||||||
|
|
|
@ -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 SizedBox(height: 40),
|
||||||
]),
|
]),
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
|
|
|
@ -5,7 +5,7 @@ description: Qu'ils aillent tous se faire enculer.
|
||||||
# pub.dev using `flutter pub publish`. This is preferred for private packages.
|
# 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
|
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:
|
environment:
|
||||||
sdk: '>=2.18.6 <3.0.0'
|
sdk: '>=2.18.6 <3.0.0'
|
||||||
|
|
|
@ -7,12 +7,12 @@ OPENAI_SECRET_KEY=$1
|
||||||
|
|
||||||
flutter clean && flutter pub get
|
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}
|
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'
|
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
|
rs /home/poka/dev/bogui/build/web poka@p2p.legal:/home/poka/bogui-html/ 10322
|
||||||
else
|
else
|
||||||
rm -rf /home/poka/dev/bogui/build/web && flutter build web --web-renderer canvaskit --dart-define=OPENAPI_SECRET_KEY=${OPENAI_SECRET_KEY}
|
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
|
rs /home/poka/dev/bogui/build/web poka@p2p.legal:/home/poka/bogui/ 10322
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue