Spaces:
Running
on
Zero
Running
on
Zero
visheratin
commited on
Commit
•
b414d97
1
Parent(s):
36f093d
Update app.py
Browse files
app.py
CHANGED
@@ -83,6 +83,7 @@ def answer_question(image, question, max_crops, num_tokens, sample, temperature,
|
|
83 |
buffer += new_text
|
84 |
if len(buffer) > 1:
|
85 |
yield buffer
|
|
|
86 |
|
87 |
|
88 |
with gr.Blocks() as demo:
|
|
|
83 |
buffer += new_text
|
84 |
if len(buffer) > 1:
|
85 |
yield buffer
|
86 |
+
return buffer
|
87 |
|
88 |
|
89 |
with gr.Blocks() as demo:
|