Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ hf_token = os.environ.get("HF_TOKEN")
|
|
10 |
app = FastAPI()
|
11 |
|
12 |
# Load pipeline once
|
13 |
-
pipe = pipeline("image-text-to-text", model="google/medgemma-
|
14 |
|
15 |
@app.get("/")
|
16 |
def root():
|
|
|
10 |
app = FastAPI()
|
11 |
|
12 |
# Load pipeline once
|
13 |
+
pipe = pipeline("image-text-to-text", model="google/medgemma-4b-pt",use_auth_token=hf_token)
|
14 |
|
15 |
@app.get("/")
|
16 |
def root():
|