Skip to content

Instantly share code, notes, and snippets.

View MohaElder's full-sized avatar
🌍
Looking for World Peace

Yasushi Oh MohaElder

🌍
Looking for World Peace
View GitHub Profile
@MohaElder
MohaElder / sam3d_sample.py
Created November 22, 2025 01:38
A simple backend service to call sam3d model inference
from flask import Flask, request, jsonify, send_file
from flask_cors import CORS
import torch
import sys
import os
sys.path.append("notebook")
from inference import Inference
from PIL import Image
import base64
import io
@MohaElder
MohaElder / Login.swift
Created January 26, 2024 08:35
Login With Apple in Swift with Firebase
// Created by Yasushi Oh on 1/22/24.
// Referenced from ChatGPT
//UI View with the Login button component
import SwiftUI
import AuthenticationServices
struct Login: View {
var body: some View {
VStack {