Skip to content

Instantly share code, notes, and snippets.

View Yuta-chan's full-sized avatar

Judith Urbina Yuta-chan

View GitHub Profile
// Refer https://github.com/kkdai/linebot-video-gcp for more detail.
// Must use "apiv1p1beta1" version to enable support on Chinese and MP3
speech "cloud.google.com/go/speech/apiv1p1beta1" //v1p1beta1
speechpb "google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1" //v1p1beta1
func (c *ClientUploader) SpeachToText() (error, string) {
ctx := context.Background()
@Yuta-chan
Yuta-chan / assistants_api_v2_streamlit.py
Created October 8, 2024 01:56 — forked from skolo-online/assistants_api_v2_streamlit.py
Assistant API V2 Streamlit Application
import streamlit as st
from assistant import *
import time
def process_run(st, thread_id, assistant_id):
# Run the Assistant
run_id = runAssistant(thread_id, assistant_id)
status = 'running'
# Check Status Session