Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -109,7 +109,7 @@ def stream_text_chat(message, history, system_prompt, temperature=0.8, max_new_t
|
|
109 |
# Clean up temporary audio files
|
110 |
for audio_file in audio_files:
|
111 |
os.remove(audio_file)
|
112 |
-
|
113 |
@spaces.GPU
|
114 |
def process_vision_query(image, text_input):
|
115 |
prompt = f"<|user|>\n<|image_1|>\n{text_input}<|end|>\n<|assistant|>\n"
|
|
|
109 |
# Clean up temporary audio files
|
110 |
for audio_file in audio_files:
|
111 |
os.remove(audio_file)
|
112 |
+
|
113 |
@spaces.GPU
|
114 |
def process_vision_query(image, text_input):
|
115 |
prompt = f"<|user|>\n<|image_1|>\n{text_input}<|end|>\n<|assistant|>\n"
|