bugfix
This commit is contained in:
parent
261ed0b9e9
commit
fcf7d7c0d4
@ -90,6 +90,7 @@ class FastVLM:
|
||||
|
||||
async def generate(self, image_file, prompt):
|
||||
f = awaitify(self._generate)
|
||||
return await f(image_file, promot)
|
||||
|
||||
def init():
|
||||
g = ServerEnv()
|
||||
|
@ -1,6 +1,7 @@
|
||||
debug(f'{params_kw=}'
|
||||
debug(f'{params_kw=}')
|
||||
image_path = realpath(params_kw.image_path)
|
||||
prompt = params_kw.prompt
|
||||
debug(f'{image_path=}, {prompt=}')
|
||||
d = await generate(image_path, prompt)
|
||||
return d
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user