Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -15,9 +15,9 @@ class validation(BaseModel):
|
|
15 |
prompt: str
|
16 |
#Fast API
|
17 |
app = FastAPI()
|
18 |
-
payload_llm = "This was the payload used : " + str
|
19 |
logging.basicConfig(format='%(process)d-%(levelname)s-%(message)s')
|
20 |
-
logging.info(
|
21 |
|
22 |
@app.post("/bpandey23_llm")
|
23 |
async def stream(item: validation):
|
|
|
15 |
prompt: str
|
16 |
#Fast API
|
17 |
app = FastAPI()
|
18 |
+
#payload_llm = "This was the payload used : " + str
|
19 |
logging.basicConfig(format='%(process)d-%(levelname)s-%(message)s')
|
20 |
+
logging.info(str)
|
21 |
|
22 |
@app.post("/bpandey23_llm")
|
23 |
async def stream(item: validation):
|