Spaces:
Runtime error
Runtime error
visheratin
commited on
Commit
•
18893d2
1
Parent(s):
b896e6c
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ def answer_question(image, question, max_crops, num_tokens):
|
|
74 |
buffer += new_text
|
75 |
print(buffer)
|
76 |
if len(buffer) > 1:
|
77 |
-
yield buffer
|
78 |
|
79 |
|
80 |
with gr.Blocks() as demo:
|
|
|
74 |
buffer += new_text
|
75 |
print(buffer)
|
76 |
if len(buffer) > 1:
|
77 |
+
yield buffer[len(replace_prompt) :]
|
78 |
|
79 |
|
80 |
with gr.Blocks() as demo:
|