Spaces:
Runtime error
Runtime error
| from flask import Flask | |
| from SephoraDirect import SephoraScraper # Import the Sephoradirect class | |
| from fastapi import FastAPI | |
| # Create an instance of the Sephoradirect class | |
| sephora_direct = SephoraScraper() | |
| app = FastAPI() | |
| def read_root(): | |
| print('request agye nhi') | |
| return { | |
| "hello" : "world" | |
| } | |
| def read(): | |
| print('request agye') | |
| sephora_direct.run() | |
| return True | |