Spaces:
Runtime error
Runtime error
update css styling
Browse files
app.py
CHANGED
@@ -5,6 +5,13 @@ from transformers import AutoProcessor, Blip2ForConditionalGeneration
|
|
5 |
import torch
|
6 |
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
processor = AutoProcessor.from_pretrained("Salesforce/blip2-opt-2.7b")
|
9 |
# by default `from_pretrained` loads the weights in float32
|
10 |
# Loading in float16 instead to save memory
|
|
|
5 |
import torch
|
6 |
|
7 |
|
8 |
+
css = """
|
9 |
+
#input_prompt {
|
10 |
+
position: fixed;
|
11 |
+
bottom: 0;
|
12 |
+
width: 100%;
|
13 |
+
}
|
14 |
+
"""
|
15 |
processor = AutoProcessor.from_pretrained("Salesforce/blip2-opt-2.7b")
|
16 |
# by default `from_pretrained` loads the weights in float32
|
17 |
# Loading in float16 instead to save memory
|