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
1) using THREE.js create a High School cafeteria. All models should be complex and perfect and should be created using THREE.js itself without using external models. | |
2) using THREE.js create a forest scence with a lake and a cave nearby. All models should be complex and perfect and should be created using THREE.js itself without using external models. |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>THREE.js Forest Lake Cave Scene</title> | |
<style> | |
body { margin: 0; overflow: hidden; background-color: #87CEEB; } /* Sky blue background */ | |
canvas { display: block; } | |
</style> |
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 json | |
import requests | |
from bs4 import BeautifulSoup | |
from collections import OrderedDict | |
def get_naaladiyar_data(page_num): | |
""" | |
Given an integer page_num (1..40), build the URL, scrape, and return: | |
section, sub_section, title, results | |
where results is a list of: |
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 gradio as gr | |
import numpy as np | |
import random | |
import torch | |
from diffusers import ( | |
DiffusionPipeline, FluxPipeline, PixArtSigmaPipeline, | |
AuraFlowPipeline, Kandinsky3Pipeline, HunyuanDiTPipeline, | |
LuminaText2ImgPipeline | |
) | |
import spaces |
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 torch | |
from diffusers import SanaPipeline,StableDiffusion3Pipeline, FluxPipeline,Transformer2DModel, PixArtSigmaPipeline, AuraFlowPipeline, Kandinsky3Pipeline, LuminaText2ImgPipeline, HunyuanDiTPipeline, LuminaText2ImgPipeline | |
from app.sana_pipeline import SanaPipeline | |
from torchvision.utils import save_image | |
from models import SwittiPipeline | |
from onediffusion.diffusion.pipelines.onediffusion import OneDiffusionPipeline | |
# FLUX, SD, Aura, Hunay, Sana, Pix Sigma, | |
master_prompt = "A serene and emotive scene depicting a college girl weeping under a large, lush tree, with her loyal dog sitting close by, offering comfort. In the background, a small camp is situated , illuminated by the gentle glow of a campfire around which several people are gathered, sitting on benches and engaging in quiet conversation. The setting is in a forest clearing, during twilight, with the sky painted in soft shades of pink and blue, creating a tranquil yet poignant atmosphere," |
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
{ | |
"last_node_id": 90, | |
"last_link_id": 143, | |
"nodes": [ | |
{ | |
"id": 56, | |
"type": "BasicGuider", | |
"pos": { | |
"0": 1450, | |
"1": 1030 |
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
{ | |
"DEDR": 1, | |
"PDr.": [ | |
{ | |
"words": "*a-mpV", | |
"defs": "there" | |
}, | |
{ | |
"words": "*a-n(V)k- ∼ ā-n(V)k/-t- ∼ -tt-", | |
"defs": "that place/time/much/many/ manner" |
This file has been truncated, but you can view the full file.
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
rageshantonyd@Administrators-MacBook-Pro library % sh prepare_libs.sh | |
+ rustup target add aarch64-linux-android | |
info: component 'rust-std' for target 'aarch64-linux-android' is up to date | |
+ mkdir -p build/model_lib | |
+ python3 prepare_model_lib.py | |
Creating lib from ['/Users/rageshantonyd/Documents/working_prj/mlc-llm/dist/libs/Llama-2-7b-chat-hf-q4f16_1-android.tar', '/Users/rageshantonyd/Documents/working_prj/mlc-llm/dist/libs/RedPajama-INCITE-Chat-3B-v1-q4f16_1-android.tar', '/Users/rageshantonyd/Documents/working_prj/mlc-llm/dist/libs/phi-2-q4f16_1-android.tar', '/Users/rageshantonyd/Documents/working_prj/mlc-llm/dist/libs/Mistral-7B-Instruct-v0.2-q4f16_1-android.tar'].. | |
+ cd build | |
+ touch config.cmake | |
+ '[' 0 -ne 0 ']' |