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components/PromptInput.js","components/Breathing.js","components/DropDown.js","components/ImagePicker.js","components/Buttons.js","components/Expand.js","components/Prompt.js","components/Inference.js","MainApp.js","App.js","webpack/bootstrap","webpack/runtime/chunk loaded","webpack/runtime/compat get default export","webpack/runtime/define property getters","webpack/runtime/global","webpack/runtime/hasOwnProperty shorthand","webpack/runtime/make namespace object","webpack/runtime/node module decorator","webpack/runtime/publicPath","webpack/runtime/jsonp chunk loading","webpack/startup"],"sourcesContent":["import * as React from \"react\";\r\nimport { StyleSheet, View, Text } from \"react-native\";\r\nimport Slider from \"@react-native-community/slider\";\r\n\r\nexport default function SliderComponent({ setSteps, setGuidance }) {\r\n const [samplingValue, setSamplingValue] = React.useState(30);\r\n const [guidanceValue, setGuidanceValue] = React.useState(7);\r\n\r\n // Handle sampling steps change\r\n const handleStepChange = (x) => {\r\n setSamplingValue(x);\r\n setSteps(x);\r\n };\r\n\r\n // Handle guidance change\r\n const handleGuidanceChange = (x) => {\r\n setGuidanceValue(parseFloat(x.toFixed(2)));\r\n setGuidance(parseFloat(x.toFixed(2)));\r\n };\r\n\r\n return (\r\n <View style={styles.container}>\r\n <Text style={styles.captionText}>Sampling Steps</Text>\r\n <Slider\r\n style={styles.slider}\r\n minimumValue={3}\r\n maximumValue={50}\r\n step={1}\r\n value={samplingValue}\r\n minimumTrackTintColor=\"#958DA5\"\r\n maximumTrackTintColor=\"#9DA58D\"\r\n thumbTintColor=\"#6750A4\"\r\n onValueChange={handleStepChange}\r\n />\r\n <Text style={styles.sliderValue}>{samplingValue}</Text>\r\n <Text style={styles.captionText}>Guidance</Text>\r\n <Slider\r\n style={styles.slider}\r\n minimumValue={0}\r\n maximumValue={10}\r\n step={0.1}\r\n value={guidanceValue}\r\n minimumTrackTintColor=\"#958DA5\"\r\n maximumTrackTintColor=\"#9DA58D\"\r\n thumbTintColor=\"#6750A4\"\r\n onValueChange={handleGuidanceChange}\r\n />\r\n <Text style={styles.sliderValue}>{guidanceValue}</Text>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n color: \"#FFFFFF\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n container: {\r\n alignItems: \"center\",\r\n paddingTop: 50,\r\n },\r\n slider: {\r\n width: 350,\r\n height: 40,\r\n },\r\n captionText: {\r\n color: colors.color,\r\n fontSize: 20,\r\n textAlign: \"center\",\r\n letterSpacing: 3,\r\n width: 350,\r\n fontFamily: \"Sigmar\",\r\n },\r\n sliderValue: {\r\n color: colors.color,\r\n fontSize: 18,\r\n letterSpacing: 3,\r\n textAlign: \"center\",\r\n paddingBottom: 30,\r\n width: 350,\r\n fontFamily: \"Sigmar\",\r\n },\r\n});\r\n","import React, { useEffect } from \"react\";\r\nimport { Pressable, StyleSheet, TextInput, useWindowDimensions, Image, View} from \"react-native\";\r\n\r\nexport default function PromptInputComponent({ setPrompt, inferredPrompt }) {\r\n const [text, setText] = React.useState(\"\");\r\n const { width } = useWindowDimensions();\r\n\r\n const textInputStyle = {\r\n ...styles.input,\r\n width: width > 500 ? 500 : width - 80,\r\n };\r\n\r\n useEffect(() => {\r\n if(inferredPrompt){\r\n setText(inferredPrompt);\r\n setPrompt(inferredPrompt);\r\n }\r\n }, [inferredPrompt]);\r\n\r\n const handleTextChange = (x) => {\r\n setText(x);\r\n setPrompt(x);\r\n };\r\n\r\n return (\r\n \r\n <View style={{flexDirection: 'row', alignItems: 'flex-end'}}>\r\n \r\n <TextInput\r\n style={textInputStyle}\r\n placeholder=\"\"\r\n multiline\r\n textAlign=\"center\"\r\n onChangeText={handleTextChange}\r\n value={text}\r\n maxLength={20000}\r\n />\r\n <Pressable\r\n style={({ pressed }) => [\r\n { \r\n height: pressed ? 25 : 30,\r\n width: pressed ? 25 : 30,\r\n backgroundColor: pressed ? \"#B58392\":\"#3a3c3f\" ,\r\n borderRadius: 6,\r\n padding: 10,\r\n marginTop: 10,\r\n alignItems: 'center', \r\n justifyContent: 'center', \r\n },\r\n ]}\r\n onPress={() => {\r\n setText(\"\");\r\n setPrompt(\"\");\r\n }}>\r\n <Image \r\n source={require('../assets/close.png')} \r\n style={{\r\n width: '100%', \r\n height: '100%', \r\n resizeMode: 'contain', \r\n }} \r\n />\r\n </Pressable>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n backgroundColor: \"#FFFFFF\",\r\n borderColor: \"#B58392\",\r\n color: \"#000000\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n input: {\r\n backgroundColor: colors.backgroundColor,\r\n borderColor: colors.borderColor,\r\n borderBottomLeftRadius: 4,\r\n borderWidth: 4,\r\n borderBottomRightRadius: 4,\r\n borderStartWidth: 10,\r\n borderEndWidth: 10,\r\n borderRadius: 6,\r\n height: 200,\r\n paddingLeft: 10,\r\n paddingRight: 10,\r\n fontSize: 20,\r\n color: colors.color,\r\n fontFamily: \"Sigmar\",\r\n marginRight: 10,\r\n },\r\n});\r\n","import React, { useEffect, useRef } from \"react\";\r\nimport {\r\n View,\r\n Text,\r\n StyleSheet,\r\n Animated,\r\n useWindowDimensions,\r\n} from \"react-native\";\r\n\r\nexport default function Breathing() {\r\n // Create an array of Animated values using useRef\r\n const animatedValues = useRef(\r\n [...Array(12)].map(() => new Animated.Value(0))\r\n ).current;\r\n const { width } = useWindowDimensions();\r\n\r\n useEffect(() => {\r\n // Define animations for each value in animatedValues\r\n const animations = animatedValues.map((animatedValue, index) => {\r\n // Animation for increasing value\r\n const animation1 = Animated.timing(animatedValue, {\r\n toValue: 1,\r\n duration: 2000,\r\n useNativeDriver: false,\r\n });\r\n\r\n // Animation for decreasing value\r\n const animation2 = Animated.timing(animatedValue, {\r\n toValue: 0,\r\n duration: 2000,\r\n useNativeDriver: false,\r\n });\r\n\r\n const fast = 300;\r\n const medium = 450;\r\n const slow = 600;\r\n // Define delays for each animation\r\n const delays = [\r\n index * fast,\r\n index * medium,\r\n (11 - index) * fast,\r\n index * slow,\r\n (11 - index) * medium,\r\n index * fast,\r\n (11 - index) * slow,\r\n index * medium,\r\n (11 - index) * fast,\r\n (11 - index) * medium,\r\n index * slow,\r\n (11 - index) * slow,\r\n ];\r\n\r\n // Create a sequence of animations with delays\r\n const animationSequence = delays.map((delay, index) => {\r\n return Animated.sequence([\r\n Animated.delay(delay),\r\n animation1,\r\n animation2,\r\n ]);\r\n });\r\n\r\n // Create a sequence of all animation sequences\r\n const animationSequences = Animated.sequence(animationSequence);\r\n\r\n // Create a loop for the animation sequence\r\n return Animated.loop(animationSequences);\r\n });\r\n\r\n // Start all animations\r\n animations.forEach((animation) => {\r\n animation.start();\r\n });\r\n }, [animatedValues]);\r\n\r\n // Interpolate animations to map values to desired output range\r\n const interpolateAnimations = animatedValues.map((animatedValue) =>\r\n animatedValue.interpolate({\r\n inputRange: [0, 1],\r\n outputRange: width > 1000 ? [60, 90] : [20, 30],\r\n extrapolate: \"clamp\",\r\n })\r\n );\r\n\r\n // Create animated styles based on interpolated values\r\n const animatedStyles = interpolateAnimations.map((interpolateAnimation) => ({\r\n fontSize: interpolateAnimation,\r\n }));\r\n\r\n return (\r\n <View style={styles.containerbreathing}>\r\n <Text style={styles.heading}>\r\n <Animated.Text style={[styles.char, animatedStyles[0]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[1]]}>\r\n I\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[2]]}>\r\n X\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[3]]}>\r\n E\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[4]]}>\r\n L\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[5]]}>\r\n {\" \"}\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[6]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[7]]}>\r\n R\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[8]]}>\r\n O\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[9]]}>\r\n M\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[10]]}>\r\n P\r\n </Animated.Text>\r\n <Animated.Text style={[styles.char, animatedStyles[11]]}>\r\n T\r\n </Animated.Text>\r\n </Text>\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n color: \"#6750A4\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n containerbreathing: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"row\",\r\n justifyContent: \"center\",\r\n },\r\n char: {\r\n marginHorizontal: 15,\r\n },\r\n heading: {\r\n fontWeight: \"bold\",\r\n fontFamily: \"Sigmar\",\r\n color: colors.color,\r\n paddingTop: 25,\r\n position: \"absolute\",\r\n },\r\n});\r\n","import { useEffect, useState } from \"react\";\r\nimport { StyleSheet } from \"react-native\";\r\nimport { Dropdown } from \"react-native-element-dropdown\";\r\n\r\nexport default function DropDownComponent({ passModelID, isImagePickerVisible, parameters }) {\r\n const [dropDownData, setDropDownData] = useState([\r\n { label: \"pix2pix\", value: \"timbrooks/instruct-pix2pix\" },\r\n { label: \"Stable Diffusion Refiner\", value: \"stabilityai/stable-diffusion-xl-refiner-1.0\" }]);\r\n const [placeholderModelID, setPlaceholderModelID] = useState(\"Model ID\");\r\n\r\n\r\n useEffect(() => {\r\n let data = [];\r\n if(isImagePickerVisible) {\r\n data = [\r\n { label: \"pix2pix\", value: \"timbrooks/instruct-pix2pix\" },\r\n { label: \"Stable Diffusion\", value: \"stabilityai/stable-diffusion-xl-refiner-1.0\" }]\r\n if(parameters ) {\r\n\r\n setPlaceholderModelID(\"pix2pix\");\r\n passModelID(\"timbrooks/instruct-pix2pix\");\r\n }\r\n }else {\r\n data = [\r\n { label: \"Step Aware\", value: \"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep\" },\r\n {\r\n label: \"Stable Diffusion\",\r\n value: \"stabilityai/stable-diffusion-xl-base-1.0\",\r\n },\r\n { label: \"Voxel\", value: \"Fictiverse/Voxel_XL_Lora\" },\r\n { label: \"Paper Cut Out\", value: \"Fictiverse/Stable_Diffusion_PaperCut_Model\" },\r\n { label: \"Van-Gogh\", value: \"dallinmackay/Van-Gogh-diffusion\" },\r\n { label: \"Robots\", value: \"nousr/robo-diffusion\" },\r\n { label: \"Anime\", value: \"Eugeoter/artiwaifu-diffusion-1.0\" },\r\n { label: \"Arcane\", value: \"nitrosocke/Arcane-Diffusion\" },\r\n { label: \"Balloon Art\", value: \"Fictiverse/Stable_Diffusion_BalloonArt_Model\" },\r\n { label: \"Open Journey\", value: \"prompthero/openjourney\" },\r\n { label: \"Flintstones\", value: \"juliajoanna/sdxl-flintstones_finetuning_1\" },\r\n { label: \"SegMind\", value: \"segmind/Segmind-Vega\" },\r\n { label: \"Mickey 1928\", value: \"Pclanglais/Mickey-1928\" },\r\n { label: \"Maps\", value: \"firella/202404032300-oldvis-choropleth-lora-sdxl\" },\r\n { label: \"Absolute Reality\", value: \"digiplay/AbsoluteReality_v1.8.1\" },\r\n { label: \"Russian Vibe\", value: \"0x7o/RussianVibe-XL-v2.0\" },\r\n { label: \"Photo\", value: \"dreamlike-art/dreamlike-photoreal-2.0\" },\r\n { label: \"Acorn\", value: \"digiplay/Acorn_Photo_v1\" }\r\n ];\r\n if(parameters) {\r\n setPlaceholderModelID(\"Step Aware\");\r\n passModelID(\"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep\");\r\n }\r\n }\r\n setDropDownData(data);\r\n \r\n }, [isImagePickerVisible]);\r\n\r\n return (\r\n <Dropdown\r\n style={styles.dropdown}\r\n selectedTextStyle={styles.selectedTextStyle}\r\n placeholderStyle={styles.placeholderStyle}\r\n data={dropDownData}\r\n labelField=\"label\"\r\n valueField=\"value\"\r\n placeholder={placeholderModelID}\r\n onChange={(item) => {\r\n passModelID(item.value);\r\n }}\r\n />\r\n );\r\n}\r\n\r\nconst colors = {\r\n borderBottomColor: \"#9DA58D\",\r\n color: \"#FFFFFF\",\r\n};\r\nconst styles = StyleSheet.create({\r\n dropdown: {\r\n margin: 16,\r\n height: 50,\r\n width: 300,\r\n borderBottomColor: colors.borderBottomColor,\r\n borderBottomWidth: 3,\r\n },\r\n placeholderStyle: {\r\n color: colors.color,\r\n fontSize: 25,\r\n fontFamily: \"Sigmar\",\r\n textAlign: \"center\",\r\n letterSpacing: 3,\r\n },\r\n selectedTextStyle: {\r\n color: colors.color,\r\n fontSize: 20,\r\n fontFamily: \"Sigmar\",\r\n letterSpacing: 3,\r\n textAlign: \"center\",\r\n },\r\n});\r\n","import React from \"react\";\nimport { Pressable, Image, View, StyleSheet, Text, Switch } from \"react-native\";\nimport * as ImagePicker from \"expo-image-picker\";\n\nconst MyImagePicker = ({\n imageSource,\n setImageSource,\n styleSwitch,\n setStyleSwitch,\n settingSwitch,\n setSettingSwitch,\n}) => {\n const selectImage = async () => {\n const { status } = await ImagePicker.requestMediaLibraryPermissionsAsync();\n if (status !== \"granted\") {\n alert(\"Sorry, we need media library permissions to select an image.\");\n return;\n }\n console.log(\"Selecting image\")\n const result = await ImagePicker.launchImageLibraryAsync({\n mediaTypes: ImagePicker.MediaTypeOptions.Images,\n allowsEditing: true,\n aspect: [4, 3],\n quality: 1,\n });\n \n if (!result.cancelled) {\n setImageSource(result.assets[0].uri);\n }\n };\n\n const styleSwitchFunction = () => {\n setStyleSwitch(!styleSwitch);\n };\n\n const settingSwitchFunction = () => {\n setSettingSwitch(!settingSwitch);\n };\n\n return (\n <View style={styles.container}>\n <View style={styles.rowContainer}>\n <View style={styles.columnContainer}>\n <Text\n style={[\n { color: styleSwitch ? \"#9DA58D\" : \"#FFFFFF\" },\n styles.sliderText,\n ]}\n >\n Style\n </Text>\n <Switch\n trackColor={{ false: \"#9DA58D\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={styleSwitchFunction}\n value={styleSwitch}\n />\n </View>\n <View style={styles.columnContainer}>\n <Text\n style={[\n { color: settingSwitch ? \"#9FA8DA\" : \"#FFFFFF\" },\n styles.sliderText,\n ]}\n >\n Layout\n </Text>\n <Switch\n trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={settingSwitchFunction}\n value={settingSwitch}\n />\n </View>\n </View>\n\n {imageSource &&\n <Image source={typeof imageSource === 'number' ? imageSource : { uri: imageSource }} style={styles.image} />\n }\n <Pressable style={styles.selectButton} onPress={selectImage}>\n <Text style={styles.promptText}>Select</Text>\n </Pressable>\n </View>\n );\n};\n\nconst colors = {\n backgroundColor: \"#25292e\",\n selectButtonBackground: \"#3a3c3f\",\n white: \"#FFFFFF\",\n};\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n image: {\n width: 200,\n height: 200,\n marginTop: 20,\n },\n rowContainer: {\n backgroundColor: colors.backgroundColor,\n alignItems: \"center\",\n flex: 1,\n width: \"100%\",\n flexDirection: \"row\",\n overflow: \"auto\",\n },\n columnContainer: {\n flex: 1,\n alignItems: \"center\",\n flexDirection: \"column\",\n },\n selectButton: {\n margin: 20,\n borderRadius: 4,\n paddingHorizontal: 32,\n elevation: 3,\n fontFamily: \"Sigmar\",\n backgroundColor: colors.selectButtonBackground,\n },\n promptText: {\n color: colors.white,\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n sliderText: {\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n});\n\nexport default MyImagePicker;\n","// Buttons.js\nimport React from 'react';\nimport { StyleSheet, View, Text, Pressable, ActivityIndicator, Switch } from 'react-native';\n\nconst Buttons = ({ activity, longPrompt, setTextInference, switchPromptFunction, promptLengthValue, setParametersWrapper}) => {\n return (\n <>\n {activity ? (\n <ActivityIndicator\n size=\"large\"\n color=\"#B58392\"\n style={{ margin: 25 }}\n />\n ) : (\n <>{longPrompt ? \n <><View style={[styles.rowContainer, {padding:0}]}>\n <Pressable\n onPress={() => {\n setTextInference(true);\n }}\n style={({ pressed }) => [\n { backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\" ,\n width: 40, height: 40, borderRadius: 20, margin:10}]}\n >\n </Pressable>\n <View style={styles.columnContainer}>\n <View style={[styles.rowContainer, {padding:0}]}>\n <Text\n style={[\n { color: promptLengthValue ? \"#FFFFFF\" : \"#9FA8DA\", marginRight: 15},\n styles.sliderText,\n ]}\n >\n Short\n </Text>\n <Text\n style={[\n { color: promptLengthValue ? \"#9FA8DA\" : \"#FFFFFF\", marginRight: 15},\n styles.sliderText,\n ]}\n >\n Long\n </Text>\n </View>\n <Switch\n trackColor={{ false: \"#958DA5\", true: \"#767577\" }}\n thumbColor=\"#B58392\"\n activeThumbColor=\"#6750A4\"\n ios_backgroundColor=\"#3e3e3e\"\n onValueChange={switchPromptFunction}\n value={promptLengthValue}\n />\n </View>\n </View>\n </> : \n <Pressable\n onPress={() => {\n setTextInference(true);\n }}\n style={({ pressed }) => [\n { backgroundColor: pressed ? \"#958DA5\" : \"#9DA58D\"},\n styles.button,\n ]}\n >\n {({ pressed }) => (\n <Text style={styles.promptText}>\n {pressed ? \"PROMPTED!\" : \"Prompt\"}\n </Text>\n )}\n </Pressable>}\n <Pressable\n onPress={() => {\n setParametersWrapper();\n }}\n style={({ pressed }) => [\n { backgroundColor: pressed ? \"#9DA58D\" : \"#958DA5\", marginBottom:20 },\n styles.button,\n ]}\n >\n {({ pressed }) => (\n <Text style={styles.promptText}>\n {pressed ? \"INFERRED!\" : \"Inference\"}\n </Text>\n )}\n </Pressable>\n </>\n )}</>\n );\n};\n\nconst colors = {\n backgroundColor: \"#25292e\",\n color: \"#FFFFFF\",\n };\n \n const styles = StyleSheet.create({\n rowContainer: {\n backgroundColor: colors.backgroundColor,\n display: \"flex\",\n flexDirection: \"row\",\n marginTop: 10,\n overflow: \"visible\",\n padding: 20,\n },\n columnContainer: {\n flex: 1,\n alignItems: \"center\",\n flexDirection: \"column\",\n },\n button: {\n margin: 10,\n borderRadius: 4,\n paddingHorizontal: 32,\n elevation: 3,\n fontFamily: \"Sigmar\",\n },\n activityIndicator: {\n marginLeft: 50,\n },\n promptText: {\n color: colors.color,\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n sliderText: {\n fontSize: 18,\n fontWeight: \"bold\",\n textAlign: \"center\",\n letterSpacing: 2,\n lineHeight: 30,\n fontFamily: \"Sigmar\",\n },\n });\n\n\nexport default Buttons;","import React from 'react';\nimport {StyleSheet, Pressable, Image } from 'react-native'; \nimport { Dimensions } from 'react-native';\n\nconst Expand = ({isImagePickerVisible, setImagePickerVisible, window}) => {\n return (\n \n <Pressable\n style={[\n styles.expandButton,\n {\n alignSelf: 'flex-start',\n marginLeft: window.width < 1000 ? '20%' : '0',\n marginBottom: 0,\n },\n ]}\n onPress={() => setImagePickerVisible(!isImagePickerVisible)}\n >\n {isImagePickerVisible ? (\n <Image\n source={require(\"../assets/right.png\")}\n style={styles.expandImage}\n />\n ) : (\n <Image\n source={require(\"../assets/down.png\")}\n style={styles.expandImage}\n />\n )}\n </Pressable>\n \n );\n};\n\nconst colors = {\n buttonBackground: \"#3a3c3f\",\n };\n \n const styles = StyleSheet.create({\n expandButton: {\n width: 30, // adjust size as needed\n height: 30, // adjust size as needed\n borderRadius: 15, // half of size to make it circular\n justifyContent: \"center\",\n alignItems: \"center\",\n backgroundColor: colors.buttonBackground, // change as needed\n elevation: 3, // for Android shadow\n shadowColor: \"#000\", // for iOS shadow\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\n shadowOpacity: 0.25, // for iOS shadow\n shadowRadius: 3.84, // for iOS shadow\n },\n expandImage: {\n width: 20,\n height: 20,\n }\n });\n\nexport default Expand;","import { useEffect } from 'react';\nimport seeds from \"../assets/seeds.json\"; \n\nconst PromptInference = ({ prompt, textInference, setTextInference, setLongPrompt, setShortPrompt, setInferredPrompt, promptLengthValue, setActivity, setModelError }) => {\n \nuseEffect(() => { \n if(textInference){\n setActivity(true);\n setModelError(false);\n let alteredPrompt = ''; \n if(prompt === 'Avocado Armchair' || prompt === ''){\n const randomIndex = Math.floor(Math.random() * seeds.seeds.length);\n alteredPrompt = seeds.seeds[randomIndex];\n }else {\n alteredPrompt = prompt;\n }\n alteredPrompt = `I'm giving you a seed string for a stable diffusion model. Return two versions \\\n in fewer than 500 tokens. A long version and a shortened version. Make both descriptive and creative. \\\n Here is the seed string. : ${alteredPrompt}`;\n console.log(alteredPrompt)\n \n fetch('/inferencePrompt', { // Change this to your API endpoint and use a library \n method: 'POST', // Axios if not running in the same container\n headers: { // http://localhost:8085/inferencePrompt if running locally or w/e port your server is using or \n 'Content-Type': 'application/json', // /inferencePrompt if running in a container\n },\n body: JSON.stringify({\n prompt: alteredPrompt,\n modelID: 'mistralai/Mistral-7B-Instruct-v0.3'\n })\n })\n .then(response => response.json())\n .then((responseData) => {\n \n const generatedText = responseData[0][\"generated_text\"];\n const splitPrompt = generatedText.split(/Short(?:ened)? (?:Version:)?/i);\n const longPromptHolder = splitPrompt[0].substring(0,150).split(/\\n\\n/).slice(-1)[0].replace(\"Long Version:\", \"\").replace(\"\\n\",\"\");\n const lPrompt = longPromptHolder + splitPrompt[0].substring(150)\n const holderShortPrompt = splitPrompt[1].substring(0,150).split(/\\n\\n/).slice(-1)[0].replace(\"\\n\",\"\");\n const sPrompt = holderShortPrompt + splitPrompt[1].substring(150).split(/\\n\\n/)[0];\n \n \n setLongPrompt(lPrompt);\n setShortPrompt(sPrompt);\n if(!promptLengthValue) {\n setInferredPrompt(sPrompt);\n }else {\n setInferredPrompt(lPrompt);\n }\n setActivity(false);\n })\n .catch(error => console.error('Error:', error));\n }\n setTextInference(false);\n },[textInference]);\n};\n\nexport default PromptInference;","import { useEffect, useState } from 'react';\n\nconst Inference = ({ setModelMessage, imageSource, parameters, modelID, prompt, isImagePickerVisible, styleSwitch, settingSwitch, guidance, steps, setActivity, setModelError, setReturnedPrompt, setInferredImage}) => {\nconst [encodedImage, setEncodedImage] = useState('')\n\nconst getBase64Image = () => { \n console.log(imageSource)\n fetch(imageSource)\n .then(response => response.blob())\n .then(blob => {\n console.log(blob.type);\n const reader = new FileReader();\n reader.readAsDataURL(blob); // blob is your file object\n reader.onloadend = function() {\n let base64data = reader.result; \n setEncodedImage(base64data);\n }\n })\n .catch(error => console.error(error));\n }\n\n // useEffect hook for img2img\n useEffect(() =>{\n if(encodedImage){\n let scaledIP = {none: {\"key2\": [0.0, 0.0]}}\n if (styleSwitch) {\n scaledIP = {\n up: { block_0: [0.0, 1.0, 0.0] },\n };\n }\n if (settingSwitch) {\n scaledIP = {\n down: { block_2: [0.0, 1.0] },\n };\n }\n if (styleSwitch && settingSwitch) {\n scaledIP = {\n down: { block_2: [0.0, 1.0] },\n up: { block_0: [0.0, 1.0, 0.0] }\n };\n }\n console.log(scaledIP)\n fetch('/img2img', { // Change this to your API endpoint and use a library \n method: 'POST', // Axios if not running in the same container\n headers: { // http://localhost:8085/api if running locally or w/e port your server is using or \n 'Content-Type': 'application/json', // /api if running in a container\n },\n body: JSON.stringify({\n prompt: prompt,\n steps: steps,\n guidance: guidance,\n modelID: modelID,\n image: encodedImage, // Holders Until File Upload Optional with FastAPI is fixed\n scale: scaledIP // Holders Until File Upload Optional with FastAPI is fixed\n })\n })\n .then(response => response.json())\n .then( responseData => {\n setActivity(false);\n setReturnedPrompt(prompt);\n setEncodedImage(null);\n setInferredImage('data:image/png;base64,' + responseData.output);\n })\n .catch(function (error) {\n setModelMessage('Model Error!');\n setActivity(false);\n setModelError(true);\n console.log(error);\n });\n }\n},[encodedImage])\n \n\n// useEffect hook for txt2img\n useEffect(() => {\n if (parameters ){\n \n console.log(parameters)\n setActivity(true);\n if (isImagePickerVisible) { // isImagePickerVisible Check for timeline on IP Adapater inference API\n setModelMessage('Inference API Not Documented Yet!');\n setActivity(false);\n setModelError(true);\n // getBase64Image();\n }else{\n const ipScaleHolder = {\"key1\": {\"key2\": [0.0, 0.0]}}\n fetch('/api ', { // Change this to your API endpoint and use a library \n method: 'POST', // Axios if not running in the same container\n headers: { // http://localhost:8085/api if running locally or w/e port your server is using or\n 'Content-Type': 'application/json', // /api if running in a container\n },\n body: JSON.stringify({\n prompt: prompt,\n steps: steps,\n guidance: guidance,\n modelID: modelID,\n image: 'test', // Holders Until File Upload Optional with FastAPI is fixed\n scale: ipScaleHolder // Holders Until File Upload Optional with FastAPI is fixed\n })\n })\n .then(response => response.json())\n .then( responseData => {\n console.log(responseData.output)\n if(responseData.output == \"Model Waking\"){\n setModelMessage('Model Waking');\n setActivity(false);\n setModelError(true);\n }\n setActivity(false);\n setReturnedPrompt(prompt);\n setInferredImage('data:image/png;base64,' + responseData.output);\n })\n .catch(function (error) {\n setModelMessage('Model Error!');\n setActivity(false);\n setModelError(true);\n \n console.log(error);\n });\n }}\n },[parameters]);\n\n};\n\nexport default Inference;","import React, { useState, useEffect } from \"react\";\r\nimport {\r\n ActivityIndicator,\r\n StyleSheet,\r\n View,\r\n ScrollView,\r\n Text,\r\n Pressable,\r\n useWindowDimensions,\r\n Image,\r\n Switch,\r\n} from \"react-native\";\r\nimport { StatusBar } from \"expo-status-bar\";\r\nimport { useFonts } from \"expo-font\";\r\n\r\nimport SliderComponent from \"./components/Slider\";\r\nimport PromptInputComponent from \"./components/PromptInput\";\r\nimport BreathingComponent from \"./components/Breathing\";\r\nimport DropDownComponent from \"./components/DropDown\";\r\nimport MyImagePicker from \"./components/ImagePicker\";\r\nimport Buttons from \"./components/Buttons\";\r\nimport Expand from \"./components/Expand\";\r\nimport PromptInference from \"./components/Prompt\";\r\nimport Inference from \"./components/Inference\"\r\n\r\nconst assetImage = require(\"./assets/avocado.jpg\");\r\n\r\n\r\nexport default function App() {\r\n useFonts({ Sigmar: require(\"./assets/Sigmar/Sigmar-Regular.ttf\") });\r\n const [inferredImage, setInferredImage] = useState(assetImage);\r\n const [steps, setSteps] = useState(30);\r\n const [guidance, setGuidance] = useState(7);\r\n const [modelID, setModelID] = useState(\r\n \"SPO-Diffusion-Models/SPO-SDXL_4k-p_10ep\"\r\n );\r\n const [prompt, setPrompt] = useState(\"Avocado Armchair\");\r\n const [inferredPrompt, setInferredPrompt] = useState(null);\r\n const [parameters, setParameters] = useState(null);\r\n const [activity, setActivity] = useState(false);\r\n const [modelError, setModelError] = useState(false);\r\n const [returnedPrompt, setReturnedPrompt] = useState(\"Avocado Armchair\");\r\n const [textInference, setTextInference] = useState(false);\r\n const [shortPrompt, setShortPrompt] = useState(\"\");\r\n const [longPrompt, setLongPrompt] = useState(null);\r\n const [promptLengthValue, setPromptLengthValue] = useState(false);\r\n const [modelMessage, setModelMessage] = useState(\"\");\r\n const window = useWindowDimensions();\r\n\r\n const [isImagePickerVisible, setImagePickerVisible] = useState(false);\r\n const [imageSource, setImageSource] = useState(assetImage);\r\n const [settingSwitch, setSettingSwitch] = useState(false);\r\n const [styleSwitch, setStyleSwitch] = useState(false);\r\n\r\n const passModelIDWrapper = (x) => {\r\n setModelError(false);\r\n setModelID(x);\r\n };\r\n\r\n const swapImage = () => {\r\n setInferredImage(imageSource);\r\n setImageSource(inferredImage);\r\n };\r\n\r\n const switchPromptFunction = () => {\r\n setPromptLengthValue(!promptLengthValue);\r\n if(promptLengthValue) {\r\n setInferredPrompt(shortPrompt);\r\n } else {\r\n setInferredPrompt(longPrompt);\r\n }\r\n };\r\n \r\n const setParametersWrapper = () => {\r\n setParameters(`${prompt}-${steps}-${guidance}-${modelID}`);\r\n };\r\n\r\n return (\r\n // Main container\r\n <View style={styles.titlecontainer}>\r\n <PromptInference prompt={prompt} textInference={textInference} setTextInference={setTextInference} setLongPrompt={setLongPrompt} setShortPrompt={setShortPrompt} setInferredPrompt={setInferredPrompt} promptLengthValue={promptLengthValue} setActivity={setActivity} setModelError={setModelError} />\r\n <Inference setModelMessage={setModelMessage} imageSource={imageSource} parameters={parameters} modelID={modelID} prompt={prompt} isImagePickerVisible={isImagePickerVisible} styleSwitch={styleSwitch} settingSwitch={settingSwitch} guidance={guidance} steps={steps} setActivity={setActivity} setModelError={setModelError} setReturnedPrompt={setReturnedPrompt} setInferredImage={setInferredImage}/>\r\n <BreathingComponent />\r\n <ScrollView\r\n scrollY={true}\r\n style={styles.ScrollView}\r\n showsVerticalScrollIndicator={false}\r\n >\r\n {window.width > 1000 ? (\r\n \r\n <View style={styles.rowContainer}>\r\n {/* Left column */}\r\n {isImagePickerVisible && (\r\n <Pressable\r\n onPress={() => {\r\n swapImage();\r\n }}\r\n style={[styles.swapButton, {\r\n top: window.height / 2 - 15,\r\n left: window.width / 2 - 15,\r\n }]\r\n }\r\n \r\n >\r\n <Image\r\n source={require(\"./assets/circle.png\")}\r\n style={styles.changeButton}\r\n />\r\n </Pressable>\r\n )}\r\n\r\n <View style={styles.leftColumnContainer}>\r\n <View>\r\n <PromptInputComponent\r\n setPrompt={setPrompt}\r\n inferredPrompt={inferredPrompt}\r\n />\r\n </View>\r\n <View style={[styles.rowContainer, \r\n { padding:0 }]}>\r\n <DropDownComponent passModelID={passModelIDWrapper} isImagePickerVisible={isImagePickerVisible} parameters={parameters} />\r\n <View style={styles.columnContainer}>\r\n <Buttons activity={activity} longPrompt={longPrompt} setTextInference={setTextInference} switchPromptFunction={switchPromptFunction} promptLengthValue={promptLengthValue} setParametersWrapper={setParametersWrapper}/>\r\n {modelError ? (\r\n <Text style={styles.promptText}>{modelMessage}</Text>\r\n ) : (\r\n <></>\r\n )}\r\n </View>\r\n </View>\r\n \r\n <View>\r\n <Expand isImagePickerVisible={isImagePickerVisible} setImagePickerVisible={setImagePickerVisible} window={window}/>\r\n {isImagePickerVisible && (\r\n <MyImagePicker\r\n imageSource={imageSource}\r\n setImageSource={setImageSource}\r\n styleSwitch={styleSwitch}\r\n setStyleSwitch={setStyleSwitch}\r\n settingSwitch={settingSwitch}\r\n setSettingSwitch={setSettingSwitch}\r\n />\r\n )}\r\n <SliderComponent\r\n setSteps={setSteps}\r\n setGuidance={setGuidance}\r\n />\r\n </View>\r\n </View>\r\n <View style={styles.rightColumnContainer}>\r\n {inferredImage && (\r\n <Image source={typeof inferredImage === 'number' ? inferredImage : { uri: inferredImage }} style={styles.imageStyle} />\r\n )}\r\n <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n </View>\r\n </View>\r\n ) \r\n : (\r\n <View style={styles.columnContainer}>\r\n <PromptInputComponent\r\n setPrompt={setPrompt}\r\n inferredPrompt={inferredPrompt}\r\n />\r\n <DropDownComponent passModelID={passModelIDWrapper} isImagePickerVisible={isImagePickerVisible} parameters={parameters} />\r\n <Buttons activity={activity} longPrompt={longPrompt} setTextInference={setTextInference} switchPromptFunction={switchPromptFunction} promptLengthValue={promptLengthValue} setParametersWrapper={setParametersWrapper}/> \r\n {modelError ? (\r\n <Text style={styles.promptText}>{modelMessage}</Text>\r\n ) : (\r\n <></>\r\n )}\r\n <Expand isImagePickerVisible={isImagePickerVisible} setImagePickerVisible={setImagePickerVisible} window={window}/>\r\n {isImagePickerVisible && (\r\n <>\r\n <MyImagePicker\r\n imageSource={imageSource}\r\n setImageSource={setImageSource}\r\n styleSwitch={styleSwitch}\r\n setStyleSwitch={setStyleSwitch}\r\n settingSwitch={settingSwitch}\r\n setSettingSwitch={setSettingSwitch}\r\n />\r\n <Pressable \r\n onPress={() => {\r\n swapImage();\r\n }}\r\n style={styles.swapButtonColumn}>\r\n <Image\r\n source={require(\"./assets/circle.png\")}\r\n style={styles.changeButton}\r\n />\r\n </Pressable>\r\n </>\r\n )}\r\n <SliderComponent setSteps={setSteps} setGuidance={setGuidance} />\r\n {inferredImage && (\r\n <Image source={typeof inferredImage === 'number' ? inferredImage : { uri: inferredImage }} style={styles.imageStyle} />\r\n )}\r\n <Text style={styles.promptText}>{returnedPrompt}</Text>\r\n </View>\r\n )}\r\n </ScrollView>\r\n <StatusBar style=\"auto\" />\r\n </View>\r\n );\r\n}\r\n\r\nconst colors = {\r\n backgroundColor: \"#25292e\",\r\n buttonBackground: \"#3a3c3f\",\r\n color: \"#FFFFFF\",\r\n button: \"#958DA5\",\r\n};\r\n\r\nconst styles = StyleSheet.create({\r\n titlecontainer: {\r\n backgroundColor: colors.backgroundColor,\r\n position: \"absolute\",\r\n top: 0,\r\n left: 0,\r\n right: 0,\r\n bottom: 0,\r\n padding: 20,\r\n },\r\n rowContainer: {\r\n backgroundColor: colors.backgroundColor,\r\n display: \"flex\",\r\n flexDirection: \"row\",\r\n marginTop: 10,\r\n overflow: \"visible\",\r\n padding: 20,\r\n },\r\n leftColumnContainer: {\r\n flex: 1,\r\n alignItems: \"center\", // Center items horizontally\r\n justifyContent: \"flex-start\",\r\n flexDirection: \"column\",\r\n marginRight: 10,\r\n },\r\n rightColumnContainer: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"column\",\r\n marginLeft: 10,\r\n },\r\n columnContainer: {\r\n flex: 1,\r\n alignItems: \"center\",\r\n flexDirection: \"column\",\r\n },\r\n button: {\r\n margin: 10,\r\n borderRadius: 4,\r\n paddingHorizontal: 32,\r\n elevation: 3,\r\n fontFamily: \"Sigmar\",\r\n },\r\n swapButton: {\r\n width: 60,\r\n height: 60,\r\n borderRadius: 30,\r\n position: \"absolute\",\r\n left: window.width / 2 - 15,\r\n top: window.height / 2 - 15,\r\n zIndex: 1,\r\n elevation: 3,\r\n backgroundColor: colors.buttonBackground,\r\n },\r\n changeButton: {\r\n width: 60,\r\n height: 60,\r\n justifyContent: \"center\",\r\n alignItems: \"center\", // change as needed\r\n elevation: 3, // for Android shadow\r\n shadowColor: \"#000\", // for iOS shadow\r\n shadowOffset: { width: 0, height: 2 }, // for iOS shadow\r\n shadowOpacity: 0.25, // for iOS shadow\r\n shadowRadius: 3.84, // for iOS shadow\r\n },\r\n swapButtonColumn: {\r\n width: 60, // adjust size as needed\r\n height: 60, // adjust size as needed\r\n borderRadius: 30,\r\n elevation: 3,\r\n margin: 20,\r\n backgroundColor: colors.buttonBackground,\r\n },\r\n promptText: {\r\n color: colors.color,\r\n fontSize: 18,\r\n fontWeight: \"bold\",\r\n textAlign: \"center\",\r\n letterSpacing: 2,\r\n lineHeight: 30,\r\n fontFamily: \"Sigmar\",\r\n },\r\n ScrollView: {\r\n backgroundColor: colors.backgroundColor,\r\n marginTop: 50,\r\n padding: 5,\r\n },\r\n imageStyle: {\r\n width: 320,\r\n height: 440,\r\n borderRadius: 18,\r\n marginTop: 20,\r\n marginBottom: 20,\r\n alignSelf: \"center\",\r\n }\r\n \r\n});\r\n\r\n\r\n","import { createRoot } from 'react-dom/client';\nimport MainApp from './MainApp';\n\n// Assuming your root element is 'root'\nconst rootElement = document.getElementById('root');\n\n// Your App component\nconst App = () => (\n <div>\n <MainApp/>\n </div>\n);\n\n// Create a root\nconst root = createRoot(rootElement);\n\n// Render your App\nroot.render(<App />);","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t792: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkweb\"] = self[\"webpackChunkweb\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [133], () => (__webpack_require__(470)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["SliderComponent","setSteps","setGuidance","samplingValue","setSamplingValue","React","guidanceValue","setGuidanceValue","_jsxs","View","style","styles","container","children","_jsx","Text","captionText","Slider","slider","minimumValue","maximumValue","step","value","minimumTrackTintColor","maximumTrackTintColor","thumbTintColor","onValueChange","x","sliderValue","parseFloat","toFixed","colors","StyleSheet","create","alignItems","paddingTop","width","height","color","fontSize","textAlign","letterSpacing","fontFamily","paddingBottom","PromptInputComponent","setPrompt","inferredPrompt","text","setText","useWindowDimensions","textInputStyle","_objectSpread","input","useEffect","flexDirection","TextInput","placeholder","multiline","onChangeText","maxLength","Pressable","pressed","backgroundColor","borderRadius","padding","marginTop","justifyContent","onPress","Image","source","require","resizeMode","borderColor","borderBottomLeftRadius","borderWidth","borderBottomRightRadius","borderStartWidth","borderEndWidth","paddingLeft","paddingRight","marginRight","Breathing","animatedValues","useRef","Array","map","Animated","Value","current","animatedValue","index","animation1","timing","toValue","duration","useNativeDriver","animation2","fast","medium","slow","animationSequence","delay","sequence","animationSequences","loop","forEach","animation","start","animatedStyles","interpolate","inputRange","outputRange","extrapolate","interpolateAnimation","containerbreathing","heading","char","flex","marginHorizontal","fontWeight","position","DropDownComponent","passModelID","isImagePickerVisible","parameters","dropDownData","setDropDownData","useState","label","placeholderModelID","setPlaceholderModelID","data","Dropdown","dropdown","selectedTextStyle","placeholderStyle","labelField","valueField","onChange","item","margin","borderBottomColor","borderBottomWidth","image","rowContainer","overflow","columnContainer","selectButton","paddingHorizontal","elevation","promptText","lineHeight","sliderText","MyImagePicker","imageSource","setImageSource","styleSwitch","setStyleSwitch","settingSwitch","setSettingSwitch","Switch","trackColor","false","true","thumbColor","activeThumbColor","ios_backgroundColor","styleSwitchFunction","settingSwitchFunction","uri","async","status","ImagePicker","requestMediaLibraryPermissionsAsync","alert","console","log","result","launchImageLibraryAsync","mediaTypes","Images","allowsEditing","aspect","quality","cancelled","assets","display","button","activityIndicator","marginLeft","Buttons","activity","longPrompt","setTextInference","switchPromptFunction","promptLengthValue","setParametersWrapper","_Fragment","ActivityIndicator","size","marginBottom","expandButton","shadowColor","shadowOffset","shadowOpacity","shadowRadius","expandImage","Expand","setImagePickerVisible","window","alignSelf","PromptInference","prompt","textInference","setLongPrompt","setShortPrompt","setInferredPrompt","setActivity","setModelError","alteredPrompt","randomIndex","Math","floor","random","seeds","length","fetch","method","headers","body","JSON","stringify","modelID","then","response","json","responseData","splitPrompt","split","lPrompt","substring","slice","replace","sPrompt","catch","error","Inference","setModelMessage","guidance","steps","setReturnedPrompt","setInferredImage","encodedImage","setEncodedImage","scaledIP","none","up","block_0","down","block_2","scale","output","ipScaleHolder","assetImage","App","useFonts","Sigmar","inferredImage","setModelID","setParameters","modelError","returnedPrompt","shortPrompt","setPromptLengthValue","modelMessage","passModelIDWrapper","swapImage","titlecontainer","BreathingComponent","ScrollView","scrollY","showsVerticalScrollIndicator","swapButton","top","left","changeButton","leftColumnContainer","rightColumnContainer","imageStyle","swapButtonColumn","StatusBar","right","bottom","zIndex","rootElement","document","getElementById","createRoot","render","MainApp","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","g","globalThis","this","Function","e","obj","prop","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","p","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","push","__webpack_exports__"],"sourceRoot":""} |