Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import streamlit as st
|
|
3 |
import torch
|
4 |
|
5 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
6 |
-
pipe = pipeline('
|
7 |
text = st.text_area('Enter some text here!')
|
8 |
|
9 |
if text:
|
|
|
3 |
import torch
|
4 |
|
5 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
6 |
+
pipe = pipeline('LLaVA', model='liuhaotian/llava-v1.5-13b', device=device )
|
7 |
text = st.text_area('Enter some text here!')
|
8 |
|
9 |
if text:
|