Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def process(raw_image, prompt):
|
|
54 |
print("start...")
|
55 |
start_time = time.time()
|
56 |
memory_usage = get_model_memory_footprint(model)
|
57 |
-
model_response = call_model(raw_image = raw_image, text_input =
|
58 |
end_time = time.time()
|
59 |
execution_time = end_time - start_time
|
60 |
execution_time_min = round((execution_time / 60), 2)
|
|
|
54 |
print("start...")
|
55 |
start_time = time.time()
|
56 |
memory_usage = get_model_memory_footprint(model)
|
57 |
+
model_response = call_model(raw_image = raw_image, text_input = prompt)
|
58 |
end_time = time.time()
|
59 |
execution_time = end_time - start_time
|
60 |
execution_time_min = round((execution_time / 60), 2)
|