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
| sudo apt update | |
| sudo apt install python3-pip | |
| sudo apt update | |
| sudo apt install ffmpeg |
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 | |
| from groq import Groq | |
| import streamlit as st | |
| import json | |
| ################## | |
| # GROQ CLIENT SETUP | |
| ################## |
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
| #!/bin/bash | |
| # Get instance name as an argument or use demo-instance as default | |
| INSTANCE_NAME=${1:-demo-instance} | |
| # Get zone as an argument or use us-west4-b as default | |
| ZONE=${2:-us-west4-b} | |
| # Location of Private Key created during authentication | |
| PRIVATE_KEY_PATH=~/.ssh/google_compute_engine |