Skip to content

Commit

Permalink
testing import tensorflow and HTTPException
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaLeylavergne committed Feb 29, 2024
1 parent 2a0f6c6 commit 2d9760d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
from fastapi import FastAPI, HTTPException
from pydantic import BaseModel
import tensorflow as tf
from keras.models import load_model
from keras.preprocessing.sequence import pad_sequences
from keras.preprocessing.text import Tokenizer


app = FastAPI()
@app.get("/")
async def root():
return {"message": "Hello, honey world 3.9"}
return {"message": "Hello, honey World 3.9"}

0 comments on commit 2d9760d

Please sign in to comment.