Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,14 +68,6 @@ def predict(image, question):
|
|
| 68 |
|
| 69 |
return prediction_result
|
| 70 |
|
| 71 |
-
import streamlit as st
|
| 72 |
-
from PIL import Image
|
| 73 |
-
|
| 74 |
-
def predict(image, text_input):
|
| 75 |
-
# Add your prediction logic here
|
| 76 |
-
# Replace the following line with your actual prediction code
|
| 77 |
-
return f"Prediction for image and text: {text_input}"
|
| 78 |
-
|
| 79 |
def main():
|
| 80 |
# Set page title and configure page layout
|
| 81 |
st.set_page_config(
|
|
|
|
| 68 |
|
| 69 |
return prediction_result
|
| 70 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
def main():
|
| 72 |
# Set page title and configure page layout
|
| 73 |
st.set_page_config(
|