Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
import torch
|
3 |
|
|
|
4 |
from transformers import BlipForQuestionAnswering, BlipProcessor
|
5 |
|
6 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
|
|
1 |
import gradio as gr
|
2 |
import torch
|
3 |
|
4 |
+
|
5 |
from transformers import BlipForQuestionAnswering, BlipProcessor
|
6 |
|
7 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|