louisepxllock commited on
Commit
01f276d
·
verified ·
1 Parent(s): 6cf154e

remove pip install line

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -1,12 +1,11 @@
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
-
4
- pip install -q sentence-transformers
5
  from sentence_transformers import SentenceTransformer
6
  import torch
 
7
 
8
- # Open the .txt file in read mode with UTF-8 encoding which you uploade
9
- with open("uni_dataset.txt", "r", encoding="latin-1") as file:
10
  # Read the entire contents of the file and store it in a variabled
11
  readme_text = file.read()
12
 
 
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
 
 
3
  from sentence_transformers import SentenceTransformer
4
  import torch
5
+ import numpy
6
 
7
+ # Open the .txt file in read mode with UTF-8 encoding which you uploaded
8
+ with open("uni_dataset.txt", "r", encoding="utf-8") as file:
9
  # Read the entire contents of the file and store it in a variabled
10
  readme_text = file.read()
11