Spaces:
Runtime error
Runtime error
Commit
•
9e599b5
1
Parent(s):
9c48aca
Update app.py
Browse files
app.py
CHANGED
@@ -3,9 +3,6 @@ import peft
|
|
3 |
from peft import LoraConfig
|
4 |
from transformers import AutoTokenizer,BitsAndBytesConfig, AutoModelForCausalLM, CLIPVisionModel, AutoProcessor
|
5 |
import torch
|
6 |
-
from PIL import Image
|
7 |
-
import requests
|
8 |
-
import numpy as np
|
9 |
|
10 |
clip_model_name = "openai/clip-vit-base-patch32"
|
11 |
phi_model_name = "microsoft/phi-2"
|
|
|
3 |
from peft import LoraConfig
|
4 |
from transformers import AutoTokenizer,BitsAndBytesConfig, AutoModelForCausalLM, CLIPVisionModel, AutoProcessor
|
5 |
import torch
|
|
|
|
|
|
|
6 |
|
7 |
clip_model_name = "openai/clip-vit-base-patch32"
|
8 |
phi_model_name = "microsoft/phi-2"
|