Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ import base64
|
|
3 |
from groq import Groq
|
4 |
from io import BytesIO
|
5 |
from dotenv import load_dotenv
|
|
|
6 |
|
7 |
load_dotenv()
|
8 |
|
@@ -66,8 +67,8 @@ interface = gr.Interface(
|
|
66 |
fn=vqa_function,
|
67 |
inputs=[image_input, text_input],
|
68 |
outputs=output_text,
|
69 |
-
title="Visual Question Answering with
|
70 |
-
description="Upload an image and ask a question. The app uses a
|
71 |
)
|
72 |
|
73 |
# Launch the app
|
|
|
3 |
from groq import Groq
|
4 |
from io import BytesIO
|
5 |
from dotenv import load_dotenv
|
6 |
+
import os
|
7 |
|
8 |
load_dotenv()
|
9 |
|
|
|
67 |
fn=vqa_function,
|
68 |
inputs=[image_input, text_input],
|
69 |
outputs=output_text,
|
70 |
+
title="Visual Question Answering with llama model",
|
71 |
+
description="Upload an image and ask a question. The app uses a LLAMA VISION model to analyze the image and answer your question."
|
72 |
)
|
73 |
|
74 |
# Launch the app
|