Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,2 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
-
|
|
|
|
|
|
|
|
|
| 1 |
+
!pip install -q sentence-transformers
|
| 2 |
+
from sentence_transformers import SentenceTransformer
|
| 3 |
+
import torch
|
| 4 |
import gradio as gr
|
| 5 |
+
|
| 6 |
+
with open("information.txt", "r", encoding="utf-8") as file:
|
| 7 |
+
info_text = file.read()
|