Spaces:
Sleeping
Sleeping
Switched from using specific .txt file to referencing whole dataset
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from huggingface_hub import InferenceClient
|
|
| 5 |
|
| 6 |
api_key = os.getenv("HF_API_KEY")
|
| 7 |
client = InferenceClient(api_key=api_key)
|
| 8 |
-
dataset = load_dataset("
|
| 9 |
|
| 10 |
def read_dataset(dataset):
|
| 11 |
text = []
|
|
|
|
| 5 |
|
| 6 |
api_key = os.getenv("HF_API_KEY")
|
| 7 |
client = InferenceClient(api_key=api_key)
|
| 8 |
+
dataset = load_dataset("andreska/adregadocs", split="test")
|
| 9 |
|
| 10 |
def read_dataset(dataset):
|
| 11 |
text = []
|