Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import torch
|
|
2 |
import gradio as gr
|
3 |
from transformers import TextIteratorStreamer, AutoProcessor, LlavaForConditionalGeneration
|
4 |
from PIL import Image
|
5 |
-
import
|
6 |
import spaces
|
7 |
import accelerate
|
8 |
import time
|
|
|
2 |
import gradio as gr
|
3 |
from transformers import TextIteratorStreamer, AutoProcessor, LlavaForConditionalGeneration
|
4 |
from PIL import Image
|
5 |
+
from threading import Thread
|
6 |
import spaces
|
7 |
import accelerate
|
8 |
import time
|