Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from huggingface_hub import login
|
|
7 |
|
8 |
# Load the model
|
9 |
model = AutoModel.from_pretrained("jcsagar/CXR-LLAVA-v2", trust_remote_code=True)
|
10 |
-
model = model.to("cuda"
|
11 |
|
12 |
# Define the function to generate the report
|
13 |
def generate_report(image):
|
|
|
7 |
|
8 |
# Load the model
|
9 |
model = AutoModel.from_pretrained("jcsagar/CXR-LLAVA-v2", trust_remote_code=True)
|
10 |
+
model = model.to("cuda")
|
11 |
|
12 |
# Define the function to generate the report
|
13 |
def generate_report(image):
|