Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -177,6 +177,7 @@ Step 3 – **Final Output**:
|
|
| 177 |
app = FastAPI(title="HackRX RAG Server", lifespan=lifespan)
|
| 178 |
|
| 179 |
def store_secret(url: str):
|
|
|
|
| 180 |
url_c = url
|
| 181 |
r = requests.get(url_c)
|
| 182 |
r.raise_for_status()
|
|
|
|
| 177 |
app = FastAPI(title="HackRX RAG Server", lifespan=lifespan)
|
| 178 |
|
| 179 |
def store_secret(url: str):
|
| 180 |
+
global secret
|
| 181 |
url_c = url
|
| 182 |
r = requests.get(url_c)
|
| 183 |
r.raise_for_status()
|