Spaces:
Sleeping
Sleeping
Update .streamlit/secrets.toml
Browse files- .streamlit/secrets.toml +0 -248
.streamlit/secrets.toml
CHANGED
|
@@ -6,251 +6,3 @@ client_id = '628411883365-dfkuut4shontl77uge7mta9514hambkc.apps.googleuserconten
|
|
| 6 |
client_secret = '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'
|
| 7 |
redirect_url_test = 'http://localhost.com:8501'
|
| 8 |
redirect_url = 'https://huggingface.co/spaces/Ashoka74/UFOSINT'
|
| 9 |
-
|
| 10 |
-
API_KEY = "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"
|
| 11 |
-
GEMINI_KEY = 'AIzaSyAEALAXiaE1HcD8qcN1duY4OtmUDfYqquk'
|
| 12 |
-
FORMAT_LONG_ = '''{
|
| 13 |
-
"sightingDetails": {
|
| 14 |
-
"DenseNarrativeSection": "Short Free-form dense narrative description of the event from the omniscient perspective, including any relevant information ",
|
| 15 |
-
"trustScore" : "A reliability score from 0-100 based on the UAP/UFO report",
|
| 16 |
-
"date": "YYYY-MM-DD",
|
| 17 |
-
"timeOfDay": "HH:MM (24-hour format)",
|
| 18 |
-
"DayNight": "Day, Night",
|
| 19 |
-
"location": {
|
| 20 |
-
"name": "Specific Location",
|
| 21 |
-
"latitude": "Decimal Degrees",
|
| 22 |
-
"longitude": "Decimal Degrees"
|
| 23 |
-
},
|
| 24 |
-
"weatherConditions": {
|
| 25 |
-
"generalDescription": "Description of weather",
|
| 26 |
-
"visibility": "Clear, Partially Cloudy, etc.",
|
| 27 |
-
"cloudCover": "Percentage or description",
|
| 28 |
-
"extremePhenomena": "Any extreme weather conditions"
|
| 29 |
-
},
|
| 30 |
-
"sightingDuration": "Duration in hours or minutes",
|
| 31 |
-
"uapCharacteristics": {
|
| 32 |
-
"distance" : Estimation of distance with object,
|
| 33 |
-
"size": "Description or comparison",
|
| 34 |
-
"shape": "The Shape of the object",
|
| 35 |
-
"formation" : "Formation of multiple objects",
|
| 36 |
-
"color": "Description of colors and patterns",
|
| 37 |
-
"altitude": "Estimated or measured altitude",
|
| 38 |
-
"speed": "Estimated or measured speed",
|
| 39 |
-
"movementPattern": "Zigzagging, straight line, stationary, etc.",
|
| 40 |
-
"changeInAppearance": "Details of any transformations",
|
| 41 |
-
"sound": "Description of any associated sounds",
|
| 42 |
-
"electromagneticEffects": "Any disturbances in electronic devices",
|
| 43 |
-
"visualClarity": "Clarity of object's appearance",
|
| 44 |
-
"detailedStructure": "Description of surface, texture, etc.",
|
| 45 |
-
"presenceHumanoids": "Presence of humanoids (Yes/No)",
|
| 46 |
-
"presenceSounds": "Presence of sound (Yes/No)",
|
| 47 |
-
"presenceLights": "Presence of lights (Yes/No)",
|
| 48 |
-
},
|
| 49 |
-
"observerDetails": {
|
| 50 |
-
"numberOfWitnesses": "Number of witnesses",
|
| 51 |
-
"observerBackground": {
|
| 52 |
-
"occupation": "Occupation",
|
| 53 |
-
"experienceWithAircraft": "Experience with aircraft or aerial phenomena"
|
| 54 |
-
},
|
| 55 |
-
"psychologicalEffects": "Psychological/Emotional effects on observer",
|
| 56 |
-
"emotionalStateBeforeSighting": "Observer's emotional state before sighting",
|
| 57 |
-
"behavioralResponse": "Observer's reaction during the sighting",
|
| 58 |
-
"subsequentEffects": "Physical or psychological effects post-sighting"
|
| 59 |
-
},
|
| 60 |
-
"evidence": {
|
| 61 |
-
"photographic": "Available/Not available",
|
| 62 |
-
"video": "Available/Not available",
|
| 63 |
-
"url": "URL",
|
| 64 |
-
},
|
| 65 |
-
"additionalInformation": {
|
| 66 |
-
"interactionWithEnvironment": "Effects on surroundings",
|
| 67 |
-
"wildlifeBehavior": "Any unusual animal behavior",
|
| 68 |
-
"previousActivity": "History of similar sightings in the area",
|
| 69 |
-
"flightCharacteristics": "Detailed flight pattern description",
|
| 70 |
-
"radarData": "Available/Not available",
|
| 71 |
-
"airTrafficCommunications": "Reports from nearby aircraft or control towers",
|
| 72 |
-
"officialResponses": "Governmental or scientific responses",
|
| 73 |
-
"historicalComparisons": "Reference to similar historical sightings",
|
| 74 |
-
"communicationAttempts": "Perceived attempts at communication from UAP",
|
| 75 |
-
"temporalAnomalies": "Reports of lost time or time discrepancies",
|
| 76 |
-
"anomalyDuration": "Specific times for changes in UAP appearance/behavior",
|
| 77 |
-
"sightingFrequency": "Frequency of sightings by the observer"
|
| 78 |
-
},
|
| 79 |
-
}
|
| 80 |
-
}'''
|
| 81 |
-
|
| 82 |
-
FORMAT_LONG = '''{
|
| 83 |
-
"sightingDetails": {
|
| 84 |
-
"reportId": "Unique ID for each report (auto-generated)",
|
| 85 |
-
"rawReportText": "Original text of the witness report",
|
| 86 |
-
"denseNarrativeSection": "Concise, objective summary of the event",
|
| 87 |
-
"trustScore": {
|
| 88 |
-
"score": "0-100",
|
| 89 |
-
"justification": "Brief explanation for the score"
|
| 90 |
-
},
|
| 91 |
-
"dateTime": {
|
| 92 |
-
"date": "YYYY-MM-DD",
|
| 93 |
-
"time": "HH:MM (24-hour format)",
|
| 94 |
-
"estimated": "True/False"
|
| 95 |
-
},
|
| 96 |
-
"location": {
|
| 97 |
-
"name": "Location name as provided by witness",
|
| 98 |
-
"latitude": "Decimal Degrees",
|
| 99 |
-
"longitude": "Decimal Degrees",
|
| 100 |
-
"geocoded": "True/False"
|
| 101 |
-
},
|
| 102 |
-
"weatherConditions": {
|
| 103 |
-
"generalDescription": "Description of weather",
|
| 104 |
-
"visibility": "Clear, Partially Cloudy, Overcast, etc.",
|
| 105 |
-
"cloudCover": "Percentage (if available) or description",
|
| 106 |
-
"extremePhenomena": "Fog, rain, snow, storm, etc."
|
| 107 |
-
},
|
| 108 |
-
"sightingDuration": {
|
| 109 |
-
"duration": "Duration in seconds, minutes, or hours",
|
| 110 |
-
"estimated": "True/False"
|
| 111 |
-
},
|
| 112 |
-
"uapCharacteristics": {
|
| 113 |
-
"distance": {
|
| 114 |
-
"estimation": "Estimated distance in meters, kilometers, etc.",
|
| 115 |
-
"comparison": "Size comparison to familiar object (if provided)",
|
| 116 |
-
"estimated": "True/False"
|
| 117 |
-
},
|
| 118 |
-
"size": {
|
| 119 |
-
"estimation": "Estimated size in meters, feet, etc.",
|
| 120 |
-
"comparison": "Size comparison to familiar object (if provided)",
|
| 121 |
-
"estimated": "True/False"
|
| 122 |
-
},
|
| 123 |
-
"shape": "Specific shape(s) observed",
|
| 124 |
-
"formation": "Description of multiple UAP arrangement (if applicable)",
|
| 125 |
-
"color": "Color(s) and patterns observed",
|
| 126 |
-
"altitude": {
|
| 127 |
-
"estimation": "Estimated altitude in meters, feet, etc.",
|
| 128 |
-
"comparison": "Altitude comparison (e.g., treetop level, cloud level)",
|
| 129 |
-
"estimated": "True/False"
|
| 130 |
-
},
|
| 131 |
-
"speed": {
|
| 132 |
-
"estimation": "Estimated speed in km/h, mph, etc.",
|
| 133 |
-
"comparison": "Speed comparison (e.g., faster than a plane)",
|
| 134 |
-
"estimated": "True/False"
|
| 135 |
-
},
|
| 136 |
-
"movementPattern": "Zigzagging, straight line, hovering, erratic, etc.",
|
| 137 |
-
"changeInAppearance": "Details of any transformations (e.g., splitting, fading, changing shape)",
|
| 138 |
-
"sound": "Description of sounds (if any)",
|
| 139 |
-
"electromagneticEffects": "Disturbances in electronics or environment",
|
| 140 |
-
"visualClarity": "Clear, blurry, obscured, etc.",
|
| 141 |
-
"detailedStructure": "Surface details, textures, lights, protrusions, etc.",
|
| 142 |
-
"presenceHumanoids": "Yes/No/Unknown",
|
| 143 |
-
"presenceSounds": "Yes/No/Unknown",
|
| 144 |
-
"presenceLights": "Yes/No/Unknown"
|
| 145 |
-
},
|
| 146 |
-
"observerDetails": {
|
| 147 |
-
"numberOfWitnesses": "Number of witnesses",
|
| 148 |
-
"observerBackground": {
|
| 149 |
-
"occupation": "Occupation (if provided)",
|
| 150 |
-
"experienceWithAircraft": "Experience with aircraft or aerial phenomena (if provided)"
|
| 151 |
-
},
|
| 152 |
-
"psychologicalEffects": "Emotional or psychological impact on witness(es)",
|
| 153 |
-
"emotionalStateBeforeSighting": "Observer's emotional state before the sighting (if provided)",
|
| 154 |
-
"behavioralResponse": "Observer's actions during and immediately after the sighting",
|
| 155 |
-
"subsequentEffects": "Long-term physical or psychological effects (if any)"
|
| 156 |
-
},
|
| 157 |
-
"evidence": {
|
| 158 |
-
"photographic": "Yes/No/Unknown",
|
| 159 |
-
"video": "Yes/No/Unknown",
|
| 160 |
-
"url": "Specific URL of evidence (if available)"
|
| 161 |
-
},
|
| 162 |
-
"additionalInformation": {
|
| 163 |
-
"interactionWithEnvironment": "Effects on the surrounding environment",
|
| 164 |
-
"wildlifeBehavior": "Unusual animal behavior observed",
|
| 165 |
-
"previousActivity": "History of similar sightings in the area",
|
| 166 |
-
"flightCharacteristics": "Detailed description of flight path and maneuvers",
|
| 167 |
-
"radarData": "Yes/No/Unknown",
|
| 168 |
-
"airTrafficCommunications": "Reports or communications related to air traffic",
|
| 169 |
-
"officialResponses": "Statements or actions from government or military",
|
| 170 |
-
"historicalComparisons": "References to similar historical sightings",
|
| 171 |
-
"communicationAttempts": "Yes/No/Unknown",
|
| 172 |
-
"temporalAnomalies": "Experiences of lost time or time discrepancies",
|
| 173 |
-
"anomalyDuration": "Specific times or durations for changes in UAP behavior",
|
| 174 |
-
"sightingFrequency": "How often the observer has seen similar phenomena"
|
| 175 |
-
},
|
| 176 |
-
"parsingFlags": {
|
| 177 |
-
"missingData": "List of keys with missing but potentially inferable data",
|
| 178 |
-
"impreciseData": "List of keys with vague or subjective values",
|
| 179 |
-
"potentialErrors": "List of potential issues identified during parsing"
|
| 180 |
-
}
|
| 181 |
-
}
|
| 182 |
-
}'''
|
| 183 |
-
|
| 184 |
-
metric_conversions = '''{
|
| 185 |
-
# Length
|
| 186 |
-
"meters": {
|
| 187 |
-
"feet": 3.28084,
|
| 188 |
-
"inches": 39.3701,
|
| 189 |
-
"yards": 1.09361,
|
| 190 |
-
"miles": 0.000621371,
|
| 191 |
-
"nautical_miles": 0.000539957
|
| 192 |
-
},
|
| 193 |
-
"kilometers": {
|
| 194 |
-
"miles": 0.621371,
|
| 195 |
-
"nautical_miles": 0.539957
|
| 196 |
-
},
|
| 197 |
-
"centimeters": {
|
| 198 |
-
"inches": 0.393701
|
| 199 |
-
},
|
| 200 |
-
"millimeters": {
|
| 201 |
-
"inches": 0.0393701
|
| 202 |
-
},
|
| 203 |
-
|
| 204 |
-
# Area
|
| 205 |
-
"square_meters": {
|
| 206 |
-
"square_feet": 10.7639,
|
| 207 |
-
"square_yards": 1.19599,
|
| 208 |
-
"acres": 0.000247105,
|
| 209 |
-
"hectares": 0.0001
|
| 210 |
-
},
|
| 211 |
-
"hectares": {
|
| 212 |
-
"acres": 2.47105
|
| 213 |
-
},
|
| 214 |
-
|
| 215 |
-
# Volume
|
| 216 |
-
"liters": {
|
| 217 |
-
"gallons": 0.264172,
|
| 218 |
-
"cubic_feet": 0.0353147,
|
| 219 |
-
"cubic_inches": 61.0237
|
| 220 |
-
},
|
| 221 |
-
"cubic_meters": {
|
| 222 |
-
"cubic_feet": 35.3147,
|
| 223 |
-
"cubic_yards": 1.30795
|
| 224 |
-
},
|
| 225 |
-
|
| 226 |
-
# Mass (Weight)
|
| 227 |
-
"kilograms": {
|
| 228 |
-
"pounds": 2.20462,
|
| 229 |
-
"ounces": 35.274
|
| 230 |
-
},
|
| 231 |
-
"grams": {
|
| 232 |
-
"ounces": 0.035274
|
| 233 |
-
},
|
| 234 |
-
|
| 235 |
-
# Temperature
|
| 236 |
-
"celsius": {
|
| 237 |
-
"fahrenheit": lambda c: (c * 9/5) + 32
|
| 238 |
-
},
|
| 239 |
-
|
| 240 |
-
# Speed
|
| 241 |
-
"kilometers_per_hour": {
|
| 242 |
-
"miles_per_hour": 0.621371,
|
| 243 |
-
"knots": 0.539957
|
| 244 |
-
},
|
| 245 |
-
"meters_per_second": {
|
| 246 |
-
"feet_per_second": 3.28084,
|
| 247 |
-
"miles_per_hour": 2.23694
|
| 248 |
-
},
|
| 249 |
-
|
| 250 |
-
# Angular Size (Approximations)
|
| 251 |
-
"degrees": {
|
| 252 |
-
"thumb_width": 2, # Thumb width at arm's length
|
| 253 |
-
"fist_width": 10 # Fist width at arm's length
|
| 254 |
-
}
|
| 255 |
-
}'''
|
| 256 |
-
|
|
|
|
| 6 |
client_secret = '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'
|
| 7 |
redirect_url_test = 'http://localhost.com:8501'
|
| 8 |
redirect_url = 'https://huggingface.co/spaces/Ashoka74/UFOSINT'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|