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
import os | |
import subprocess | |
import time | |
import requests | |
from llama_stack_client import LlamaStackClient | |
from requests.exceptions import ConnectionError | |
def run_llama_stack_server_background(): | |
log_file = open("llama_stack_server.log", "w") | |
process = subprocess.Popen( |
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
{ | |
"stories": [ | |
{ | |
"id": "1", | |
"display_name": "Alex Traveler", | |
"profile_image_url": "https://res.cloudinary.com/dnlrzqhl4/image/upload/v1743840085/image_ohkj2p.jpg", | |
"media": [ | |
{ | |
"url": "https://res.cloudinary.com/dnlrzqhl4/image/upload/v1743839351/samples/chair-and-coffee-table.jpg" | |
}, |
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
const { mergeContents } = require('@expo/config-plugins/build/utils/generateCode') | |
const { | |
withAppBuildGradle, | |
withAndroidManifest, | |
withDangerousMod, | |
createRunOncePlugin, | |
} = require('expo/config-plugins') | |
const fs = require('fs') | |
const path = require('path') |