Spaces:
Sleeping
Sleeping
Commit
•
577c504
1
Parent(s):
8c22f1c
Upload 22 files
Browse files- .gitattributes +2 -0
- Dockerfile +14 -0
- embeddingData.json +3 -0
- main.py +114 -0
- requirements.txt +6 -0
- static/asset-manifest.json +13 -0
- static/css/main.63748156.css +6 -0
- static/css/main.63748156.css.map +1 -0
- static/favicon.ico +0 -0
- static/images/Kevin_actorScan_Diffuse.png +3 -0
- static/images/logo.jpg +0 -0
- static/images/logo.png +0 -0
- static/js/main.e348f016.js +0 -0
- static/js/main.e348f016.js.LICENSE.txt +63 -0
- static/js/main.e348f016.js.map +0 -0
- static/logo192.png +0 -0
- static/logo512.png +0 -0
- static/manifest.json +25 -0
- static/robots.txt +3 -0
- templates/index.html +1 -0
- vercel.json +8 -0
.gitattributes
CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
embeddingData.json filter=lfs diff=lfs merge=lfs -text
|
37 |
+
static/images/Kevin_actorScan_Diffuse.png filter=lfs diff=lfs merge=lfs -text
|
Dockerfile
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
2 |
+
# you will also find guides on how best to write your Dockerfile
|
3 |
+
|
4 |
+
FROM python:3.9
|
5 |
+
|
6 |
+
WORKDIR /code
|
7 |
+
|
8 |
+
COPY ./requirements.txt /code/requirements.txt
|
9 |
+
|
10 |
+
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
11 |
+
|
12 |
+
COPY . .
|
13 |
+
|
14 |
+
CMD ["uvicorn", "main.py"]
|
embeddingData.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4091a372cfaa8ddf39f3971c8e79a906c83ff6be72e11d445ebfcb5fd02317ee
|
3 |
+
size 37612142
|
main.py
ADDED
@@ -0,0 +1,114 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from flask import Flask, request, jsonify, render_template
|
2 |
+
import os
|
3 |
+
import requests
|
4 |
+
import json
|
5 |
+
from scipy import spatial
|
6 |
+
from flask_cors import CORS
|
7 |
+
import random
|
8 |
+
|
9 |
+
url = "https://gptlesson1.oss-cn-beijing.aliyuncs.com/meta.json"
|
10 |
+
response = requests.get(url)
|
11 |
+
apiKeys = response.json()["APIkey"]["keys"]
|
12 |
+
|
13 |
+
with open("embeddingData.json", "r", encoding="utf-8") as f:
|
14 |
+
df = json.load(f)
|
15 |
+
|
16 |
+
|
17 |
+
def embeddingGen(query):
|
18 |
+
headers = {
|
19 |
+
"Content-Type": "application/json",
|
20 |
+
"Authorization": "Bearer " + random.choice(apiKeys),
|
21 |
+
}
|
22 |
+
json_data = {
|
23 |
+
"input": query,
|
24 |
+
"model": "text-embedding-ada-002",
|
25 |
+
}
|
26 |
+
|
27 |
+
response = requests.post(
|
28 |
+
"https://api.openai.com/v1/embeddings", headers=headers, json=json_data
|
29 |
+
)
|
30 |
+
return response.json()
|
31 |
+
|
32 |
+
|
33 |
+
def strings_ranked_by_relatedness(query, df, top_n=5):
|
34 |
+
def relatedness_fn(x, y): return 1 - spatial.distance.cosine(x, y)
|
35 |
+
query_embedding_response = embeddingGen(query)
|
36 |
+
query_embedding = query_embedding_response["data"][0]["embedding"]
|
37 |
+
strings_and_relatednesses = [
|
38 |
+
(row["text"], relatedness_fn(query_embedding, row["embedding"])) for row in df
|
39 |
+
]
|
40 |
+
strings_and_relatednesses.sort(key=lambda x: x[1], reverse=True)
|
41 |
+
strings, relatednesses = zip(*strings_and_relatednesses)
|
42 |
+
return strings[:top_n], relatednesses[:top_n]
|
43 |
+
|
44 |
+
|
45 |
+
app = Flask(__name__)
|
46 |
+
CORS(app)
|
47 |
+
|
48 |
+
messages = [
|
49 |
+
{
|
50 |
+
"role": "system",
|
51 |
+
"content": "You are a Telegram bot who replys to all my Contacts in my absence. Keep your ton very sexual and hot. Never ever mention you as an AI.",
|
52 |
+
}
|
53 |
+
]
|
54 |
+
|
55 |
+
|
56 |
+
def gptConverse(question, key):
|
57 |
+
global messages
|
58 |
+
headers = {
|
59 |
+
"Content-Type": "application/json",
|
60 |
+
"Authorization": "Bearer " + key,
|
61 |
+
}
|
62 |
+
messages.append(
|
63 |
+
{
|
64 |
+
"role": "user",
|
65 |
+
"content": question,
|
66 |
+
}
|
67 |
+
)
|
68 |
+
json_data = {
|
69 |
+
"model": "gpt-3.5-turbo",
|
70 |
+
"messages": messages,
|
71 |
+
"max_tokens": 2048,
|
72 |
+
}
|
73 |
+
response = requests.post(
|
74 |
+
"https://api.openai.com/v1/chat/completions", headers=headers, json=json_data
|
75 |
+
)
|
76 |
+
output = response.json()["choices"][0]["message"]["content"]
|
77 |
+
messages.append(
|
78 |
+
{
|
79 |
+
"role": "assistant",
|
80 |
+
"content": output,
|
81 |
+
}
|
82 |
+
)
|
83 |
+
return output
|
84 |
+
|
85 |
+
|
86 |
+
@app.route("/api/gpt", methods=["GET"])
|
87 |
+
def gptRes():
|
88 |
+
query = request.args.get("query")
|
89 |
+
response = gptConverse(query, random.choice(apiKeys))
|
90 |
+
return jsonify({"response": response})
|
91 |
+
|
92 |
+
|
93 |
+
@app.route("/", methods=["GET"])
|
94 |
+
def index():
|
95 |
+
return render_template("index.html")
|
96 |
+
|
97 |
+
|
98 |
+
@app.route("/api/getAPI", methods=["POST"])
|
99 |
+
def getAPI():
|
100 |
+
return jsonify({"API": random.choice(apiKeys)})
|
101 |
+
|
102 |
+
|
103 |
+
@app.route("/api/getContext", methods=["POST"])
|
104 |
+
def getContext():
|
105 |
+
question = request.form["question"]
|
106 |
+
strings, relatednesses = strings_ranked_by_relatedness(question, df, top_n=2)
|
107 |
+
context = "\n---------\n".join(strings)
|
108 |
+
return jsonify({"context": context})
|
109 |
+
|
110 |
+
|
111 |
+
if __name__ == "__main__":
|
112 |
+
from waitress import serve
|
113 |
+
|
114 |
+
serve(app, host="0.0.0.0", port=7860)
|
requirements.txt
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Flask
|
2 |
+
scipy
|
3 |
+
requests
|
4 |
+
Flask-Cors
|
5 |
+
waitress
|
6 |
+
uvicorn
|
static/asset-manifest.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"files": {
|
3 |
+
"main.css": "/static/css/main.63748156.css",
|
4 |
+
"main.js": "/static/js/main.e348f016.js",
|
5 |
+
"index.html": "/index.html",
|
6 |
+
"main.63748156.css.map": "/static/css/main.63748156.css.map",
|
7 |
+
"main.e348f016.js.map": "/static/js/main.e348f016.js.map"
|
8 |
+
},
|
9 |
+
"entrypoints": [
|
10 |
+
"static/css/main.63748156.css",
|
11 |
+
"static/js/main.e348f016.js"
|
12 |
+
]
|
13 |
+
}
|
static/css/main.63748156.css
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@import url(https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap);*{font-family:Inter,sans-serif}.noScroolbar::-webkit-scrollbar{display:none}body{--tw-bg-opacity:1;background-color:rgb(255 246 211/var(--tw-bg-opacity))}
|
2 |
+
|
3 |
+
/*
|
4 |
+
! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com
|
5 |
+
*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;-webkit-font-feature-settings:normal;font-feature-settings:normal;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{-webkit-font-feature-settings:inherit;font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.absolute{position:absolute}.relative{position:relative}.right-2{right:.5rem}.top-1{top:.25rem}.top-1\.5{top:.375rem}.m-5{margin:1.25rem}.mx-auto{margin-right:auto}.ml-auto,.mx-auto{margin-left:auto}.flex{display:flex}.aspect-square{aspect-ratio:1/1}.h-12{height:3rem}.h-14{height:3.5rem}.h-\[4\.5rem\]{height:4.5rem}.h-\[calc\(100vh-4\.5rem\)\]{height:calc(100vh - 4.5rem)}.h-fit{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.w-0{width:0}.w-\[80\%\]{width:80%}.w-auto{width:auto}.w-fit{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-full{min-width:100%}.max-w-\[70\%\]{max-width:70%}.grow{flex-grow:1}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.overflow-hidden{overflow:hidden}.overflow-y-scroll{overflow-y:scroll}.scroll-smooth{scroll-behavior:smooth}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-l-xl{border-bottom-left-radius:.75rem;border-top-left-radius:.75rem}.rounded-r-xl{border-bottom-right-radius:.75rem;border-top-right-radius:.75rem}.rounded-bl-sm{border-bottom-left-radius:.125rem}.rounded-br-sm{border-bottom-right-radius:.125rem}.rounded-tl-xl{border-top-left-radius:.75rem}.rounded-tr-xl{border-top-right-radius:.75rem}.bg-primary-100{--tw-bg-opacity:1;background-color:rgb(255 246 211/var(--tw-bg-opacity))}.bg-primary-500{--tw-bg-opacity:1;background-color:rgb(255 162 10/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pr-10{padding-right:2.5rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.text-primary-100{--tw-text-opacity:1;color:rgb(255 246 211/var(--tw-text-opacity))}.text-primary-500{--tw-text-opacity:1;color:rgb(255 162 10/var(--tw-text-opacity))}.text-slate-600{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity))}.text-slate-800{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:0 0 #0000,0 0 #0000,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.disabled\:hidden:disabled{display:none}@media (min-width:1024px){.lg\:w-\[20\%\]{width:20%}.lg\:w-\[80\%\]{width:80%}}
|
6 |
+
/*# sourceMappingURL=main.63748156.css.map*/
|
static/css/main.63748156.css.map
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"version":3,"file":"static/css/main.63748156.css","mappings":"uPAEA,EACE,4BACF,CAEA,gCACE,YACF,CAGE,sBAAoB,CAApB,sDAAoB;;AAGtB;;CAAc,CAAd,uCAAc,CAAd,qBAAc,CAAd,8BAAc,CAAd,kCAAc,CAAd,oCAAc,CAAd,4BAAc,CAAd,gMAAc,CAAd,8BAAc,CAAd,eAAc,CAAd,UAAc,CAAd,wBAAc,CAAd,QAAc,CAAd,uBAAc,CAAd,aAAc,CAAd,QAAc,CAAd,4DAAc,CAAd,gCAAc,CAAd,mCAAc,CAAd,mBAAc,CAAd,eAAc,CAAd,uBAAc,CAAd,2BAAc,CAAd,qHAAc,CAAd,aAAc,CAAd,mBAAc,CAAd,qBAAc,CAAd,aAAc,CAAd,iBAAc,CAAd,sBAAc,CAAd,iB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CAAnB,kEAAmB,CAAnB,kGAAmB,CAAnB,oFAAmB,CAAnB,iGAAmB,CAAnB,qFAAmB,CAAnB,kGAAmB,CAAnB,+CAAmB,CAAnB,kGAAmB,CAhBnB,2E,CAAA,uC,CAAA,mD,CAAA,yB","sources":["index.css"],"sourcesContent":["@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');\n\n*{\n font-family: \"Inter\", sans-serif;\n}\n\n.noScroolbar::-webkit-scrollbar {\n display: none;\n}\n\nbody{\n @apply bg-primary-100\n}\n\n@tailwind base;\n@tailwind components;\n@tailwind utilities;"],"names":[],"sourceRoot":""}
|
static/favicon.ico
ADDED
|
static/images/Kevin_actorScan_Diffuse.png
ADDED
![]() |
Git LFS Details
|
static/images/logo.jpg
ADDED
![]() |
static/images/logo.png
ADDED
![]() |
static/js/main.e348f016.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
static/js/main.e348f016.js.LICENSE.txt
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
2 |
+
|
3 |
+
/**
|
4 |
+
* @license React
|
5 |
+
* react-dom.production.min.js
|
6 |
+
*
|
7 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
8 |
+
*
|
9 |
+
* This source code is licensed under the MIT license found in the
|
10 |
+
* LICENSE file in the root directory of this source tree.
|
11 |
+
*/
|
12 |
+
|
13 |
+
/**
|
14 |
+
* @license React
|
15 |
+
* react-jsx-runtime.production.min.js
|
16 |
+
*
|
17 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
18 |
+
*
|
19 |
+
* This source code is licensed under the MIT license found in the
|
20 |
+
* LICENSE file in the root directory of this source tree.
|
21 |
+
*/
|
22 |
+
|
23 |
+
/**
|
24 |
+
* @license React
|
25 |
+
* react.production.min.js
|
26 |
+
*
|
27 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
28 |
+
*
|
29 |
+
* This source code is licensed under the MIT license found in the
|
30 |
+
* LICENSE file in the root directory of this source tree.
|
31 |
+
*/
|
32 |
+
|
33 |
+
/**
|
34 |
+
* @license React
|
35 |
+
* scheduler.production.min.js
|
36 |
+
*
|
37 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
38 |
+
*
|
39 |
+
* This source code is licensed under the MIT license found in the
|
40 |
+
* LICENSE file in the root directory of this source tree.
|
41 |
+
*/
|
42 |
+
|
43 |
+
/**
|
44 |
+
* @remix-run/router v1.7.2
|
45 |
+
*
|
46 |
+
* Copyright (c) Remix Software Inc.
|
47 |
+
*
|
48 |
+
* This source code is licensed under the MIT license found in the
|
49 |
+
* LICENSE.md file in the root directory of this source tree.
|
50 |
+
*
|
51 |
+
* @license MIT
|
52 |
+
*/
|
53 |
+
|
54 |
+
/**
|
55 |
+
* React Router v6.14.2
|
56 |
+
*
|
57 |
+
* Copyright (c) Remix Software Inc.
|
58 |
+
*
|
59 |
+
* This source code is licensed under the MIT license found in the
|
60 |
+
* LICENSE.md file in the root directory of this source tree.
|
61 |
+
*
|
62 |
+
* @license MIT
|
63 |
+
*/
|
static/js/main.e348f016.js.map
ADDED
The diff for this file is too large to render.
See raw diff
|
|
static/logo192.png
ADDED
![]() |
static/logo512.png
ADDED
![]() |
static/manifest.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"short_name": "React App",
|
3 |
+
"name": "Create React App Sample",
|
4 |
+
"icons": [
|
5 |
+
{
|
6 |
+
"src": "favicon.ico",
|
7 |
+
"sizes": "64x64 32x32 24x24 16x16",
|
8 |
+
"type": "image/x-icon"
|
9 |
+
},
|
10 |
+
{
|
11 |
+
"src": "logo192.png",
|
12 |
+
"type": "image/png",
|
13 |
+
"sizes": "192x192"
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"src": "logo512.png",
|
17 |
+
"type": "image/png",
|
18 |
+
"sizes": "512x512"
|
19 |
+
}
|
20 |
+
],
|
21 |
+
"start_url": ".",
|
22 |
+
"display": "standalone",
|
23 |
+
"theme_color": "#000000",
|
24 |
+
"background_color": "#ffffff"
|
25 |
+
}
|
static/robots.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
# https://www.robotstxt.org/robotstxt.html
|
2 |
+
User-agent: *
|
3 |
+
Disallow:
|
templates/index.html
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
<!doctype html><html lang="en"><head><meta charset="utf-8"><link rel="icon" href="/images/logo.png"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#000000"><meta name="description" content="Web site created using create-react-app"><link rel="apple-touch-icon" href="/logo192.png"><link rel="manifest" href="/manifest.json"><title>NarayanGPT</title><script defer="defer" src="/static/js/main.e348f016.js"></script><link href="/static/css/main.63748156.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
vercel.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"rewrites": [
|
3 |
+
{
|
4 |
+
"source": "/(.*)",
|
5 |
+
"destination": "/main"
|
6 |
+
}
|
7 |
+
]
|
8 |
+
}
|