Spaces:
Sleeping
Sleeping
harisankar99
commited on
Commit
•
3a0707a
1
Parent(s):
d2222a3
Company Logo
Browse files- Limelogo.png +0 -0
- app.py +5 -1
Limelogo.png
CHANGED
app.py
CHANGED
@@ -79,6 +79,9 @@ data = data.add_faiss_index("embeddings") # column name that has the embeddings
|
|
79 |
|
80 |
model_id = "meta-llama/Meta-Llama-3-8B-Instruct"
|
81 |
client = InferenceClient("meta-llama/Meta-Llama-3-8B-Instruct")
|
|
|
|
|
|
|
82 |
# model_id = r"D:\Meta-Llama-3-8B-Instruct"
|
83 |
|
84 |
# use quantization to lower GPU usage
|
@@ -189,7 +192,7 @@ TITLE = "EVolve AI"
|
|
189 |
|
190 |
DESCRIPTION = """
|
191 |
This is a project by Lime.ai
|
192 |
-
An advanced battery assistant which answers all your battery related queries.
|
193 |
"""
|
194 |
demo = gr.ChatInterface(
|
195 |
fn=talk,
|
@@ -210,3 +213,4 @@ demo = gr.ChatInterface(
|
|
210 |
)
|
211 |
if __name__ == "__main__":
|
212 |
demo.launch(debug=True,share=True)
|
|
|
|
79 |
|
80 |
model_id = "meta-llama/Meta-Llama-3-8B-Instruct"
|
81 |
client = InferenceClient("meta-llama/Meta-Llama-3-8B-Instruct")
|
82 |
+
# Load the logo image
|
83 |
+
from PIL import Image
|
84 |
+
logo = Image.open("./Limelogo.png")
|
85 |
# model_id = r"D:\Meta-Llama-3-8B-Instruct"
|
86 |
|
87 |
# use quantization to lower GPU usage
|
|
|
192 |
|
193 |
DESCRIPTION = """
|
194 |
This is a project by Lime.ai
|
195 |
+
\n<br/>An advanced battery assistant which answers all your battery related queries.
|
196 |
"""
|
197 |
demo = gr.ChatInterface(
|
198 |
fn=talk,
|
|
|
213 |
)
|
214 |
if __name__ == "__main__":
|
215 |
demo.launch(debug=True,share=True)
|
216 |
+
gr.Image(value=logo).render()
|