Skip to content

Instantly share code, notes, and snippets.

View arpandrv's full-sized avatar
💭
I may be slow to respond.

Arpan Nepal arpandrv

💭
I may be slow to respond.
  • Rapid creek, NT, Australia
  • 00:06 (UTC +09:30)
View GitHub Profile
@arpandrv
arpandrv / slide_11.html
Created March 8, 2026 07:02
hit226 supbase demo
<!DOCTYPE html>
<html>
<body>
<style>
body{font-family:sans-serif;background:#f5f7fb;display:flex;justify-content:center;align-items:center;height:100vh;margin:0}
.box{background:white;padding:28px;width:260px;border-radius:10px;box-shadow:0 10px 25px rgba(0,0,0,.08)}
h3{margin-top:0;text-align:center}
input,button{width:100%;margin:8px 0;padding:10px;border-radius:6px;border:1px solid #ddd}
button{background:#3b82f6;color:white;border:none;cursor:pointer}
button:last-of-type{background:#10b981}
@arpandrv
arpandrv / app.py
Last active September 30, 2025 03:42
qwenie-app
import io, os, base64
from typing import Optional
import torch
from fastapi import FastAPI, UploadFile, File, Form, HTTPException, Header
from fastapi.middleware.cors import CORSMiddleware
from fastapi.responses import StreamingResponse, JSONResponse
from PIL import Image
from diffusers import QwenImageEditPipeline
# ✅ Default to local model path in /workspace