Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import streamlit as st
|
2 |
-
import torch
|
3 |
from PIL import Image
|
4 |
from byaldi import RAGMultiModalModel
|
5 |
import tempfile
|
|
|
6 |
|
7 |
# Function to upload image, run inference, and display output
|
8 |
def upload_image_and_infer():
|
|
|
1 |
import streamlit as st
|
|
|
2 |
from PIL import Image
|
3 |
from byaldi import RAGMultiModalModel
|
4 |
import tempfile
|
5 |
+
import torch
|
6 |
|
7 |
# Function to upload image, run inference, and display output
|
8 |
def upload_image_and_infer():
|