Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ model = PeftModel.from_pretrained(
|
|
63 |
# 5 Inference helper
|
64 |
# ---------------------------------------------------------------------
|
65 |
def generate_answer(
|
66 |
-
image
|
67 |
question: str,
|
68 |
temperature: float = 0.7,
|
69 |
top_p: float = 0.95,
|
|
|
63 |
# 5 Inference helper
|
64 |
# ---------------------------------------------------------------------
|
65 |
def generate_answer(
|
66 |
+
image,
|
67 |
question: str,
|
68 |
temperature: float = 0.7,
|
69 |
top_p: float = 0.95,
|