Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,20 +1,3 @@
|
|
| 1 |
-
# -*- coding: utf-8 -*-
|
| 2 |
-
"""Assessment3_Antonis_Karaolis.ipynb
|
| 3 |
-
|
| 4 |
-
Automatically generated by Colab.
|
| 5 |
-
|
| 6 |
-
Original file is located at
|
| 7 |
-
https://colab.research.google.com/drive/1Qd3aOoBB6q1uy2pHPeLudMlsYd9J30-C
|
| 8 |
-
"""
|
| 9 |
-
|
| 10 |
-
!pip install -U sentence-transformers
|
| 11 |
-
!pip install transformers
|
| 12 |
-
!pip install gradio
|
| 13 |
-
!pip install chromadb
|
| 14 |
-
!pip install datasets
|
| 15 |
-
pip install accelerate -U
|
| 16 |
-
pip install transformers[torch]
|
| 17 |
-
|
| 18 |
import pandas as pd
|
| 19 |
from sentence_transformers import SentenceTransformer
|
| 20 |
import chromadb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import pandas as pd
|
| 2 |
from sentence_transformers import SentenceTransformer
|
| 3 |
import chromadb
|