Spaces:
Running
Running
File size: 3,624 Bytes
aaa8cb2 02d4619 c42fd78 02d4619 aaa8cb2 070a4e5 5de4d86 879828f aaa8cb2 8d21336 5eec8dc 8d21336 9ecb143 6d315be 9ecb143 83d7add 974774f 5d77efe da2c06c 2dd8e14 974774f 5d77efe da2c06c 5d77efe 974774f 83d7add 11ad08f d282d9e 11ad08f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 |
from typing import Optional, List, Dict, Any
from pydantic import BaseModel
class CustomErrorResponseModel(BaseModel):
detail: List[Dict[str, Any]]
class SuccessResponse(BaseModel):
status: str
randydev: Dict[str, Any]
class ErrorResponse(BaseModel):
status: str
detail: str
class ErrorStatus(BaseModel):
status: str
message: str
class ProfileClone(BaseModel):
user_id: int
first_name: Optional[str] = None
last_name: Optional[str] = None
profile_id: Optional[str] = None
bio: Optional[str] = None
class GetProfileClone(BaseModel):
user_id: int
class SibylSystemDel(BaseModel):
user_id: int
class SibylSystemBan(BaseModel):
user_id: int
reason: str
class RyuzakiAi(BaseModel):
text: str
class SibylSystem(BaseModel):
user_id: int
class SibylSystemResponse(BaseModel):
sibyl_name: str
reason: str
is_banned: bool
date_joined: str
sibyl_user_id: int
class GoogleReverse(BaseModel):
engine: str="google_reverse_image"
image_url: str
language: str="en"
google_lang: str="us"
class GetImageUnsplash(BaseModel):
query: str
size: str="500x500"
class OrcSpaceUrl(BaseModel):
url: str
overlay: bool=False
language: str="eng"
class ChatgptModel(BaseModel):
query: str
model_id: Optional[int] = None
is_models: bool=False
class ChatgptCustom(BaseModel):
query: str
class BetaRags(BaseModel):
query: str
clients_name: str
class GeminiPro(BaseModel):
query: str
bard_api_key: Optional[str] = None
mongo_url: Optional[str] = None
user_id: Optional[int] = None
gemini_api_key: Optional[str] = None
is_login: Optional[bool] = False
is_multi_chat: Optional[bool] = False
class WaifuPics(BaseModel):
types: str="sfw"
category: str="neko"
media_type: Optional[str] = None
is_bytes: bool=False
class MakeRayso(BaseModel):
code: str
title: str="Ryuzaki Dev"
theme: str
setlang: str="en"
auto_translate: Optional[bool] = None
ryuzaki_dark: bool=True
class Webshot(BaseModel):
url: str
quality: str="1920x1080"
type_mine: str="JPEG"
pixels: str="1024"
cast: str="Z100"
class GithubUsernames(BaseModel):
username: str
class ChatBots(BaseModel):
query: str
user_id: Optional[int] = None
bot_name: Optional[str] = None
bot_username: Optional[str] = None
class NewMonitor(BaseModel):
type: int=1
url: str
friendly_name: str
class TiktokBeta(BaseModel):
tiktok_url: str
only_video: Optional[bool] = None
class TiktokDownloader(BaseModel):
tiktok_url: str
class GetMonitorLogs(BaseModel):
logs: int
class DownloadLink(BaseModel):
link: str
class BingDalle(BaseModel):
prompt: str = "a realistic white siamese cat"
model: str = "dall-e-3" #Can use gemini if you set
cookie: str = "must set _U" #__1PSID Cookie
class OpenDalle(BaseModel):
query: str
class Dalle3XL(BaseModel):
query: str
class TranslateCustom(BaseModel):
text: str
setlang: str
class AnimeStyled(BaseModel):
query: str
class OpenaiTexts(BaseModel):
query: str
api_key: Optional[str] = ""
model: Optional[str] = "gpt-4"
is_stream: Optional[bool] = False
class Chatgpt3Texts(BaseModel):
query: str
api_key: Optional[str] = ""
model: Optional[str] = "gpt-3.5-turbo"
is_stream: Optional[bool] = False
is_openai_original: Optional[bool] = False
class TextCustom(BaseModel):
query: str
class ChatgptNewo(BaseModel):
query: str
model: str
class Picsart(BaseModel):
image_path: str
|