Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ processor = AutoProcessor.from_pretrained(model_name, trust_remote_code=True)
|
|
17 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
18 |
model.to(device)
|
19 |
|
20 |
-
TITLE = "# [
|
21 |
|
22 |
|
23 |
def process_image(image):
|
|
|
17 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
18 |
model.to(device)
|
19 |
|
20 |
+
TITLE = f"# [{model_name}](https://huggingface.co/{model_name})"
|
21 |
|
22 |
|
23 |
def process_image(image):
|