Saachi-S123 commited on
Commit
dd8efc0
·
verified ·
1 Parent(s): a51b339

changed water file to zenagers.txt

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -7,15 +7,15 @@ import torch
7
 
8
  #STEP 2 FROM SEMANTIC SEARCH
9
  # Open the water_cycle.txt file in read mode with UTF-8 encoding
10
- with open("/water_cycle.txt", "r", encoding="utf-8") as file:
11
  # Read the entire contents of the file and store it in a variable
12
- water_cycle_text = file.read()
13
 
14
  # Print the text below
15
- print(water_cycle_text)
16
 
17
  # Print the text below
18
- print(water_cycle_text)
19
 
20
 
21
  #STEP 3 FROM SEMANTIC SEARCH
@@ -45,7 +45,7 @@ def preprocess_text(text):
45
  return cleaned_chunks
46
 
47
  # Call the preprocess_text function and store the result in a cleaned_chunks variable
48
- cleaned_chunks = preprocess_text(water_cycle_text) # Complete this line
49
 
50
  #STEP 4 FROM SEMANTIC SEARCH
51
 
 
7
 
8
  #STEP 2 FROM SEMANTIC SEARCH
9
  # Open the water_cycle.txt file in read mode with UTF-8 encoding
10
+ with open("zenagers.txt", "r", encoding="utf-8") as file:
11
  # Read the entire contents of the file and store it in a variable
12
+ zenagers = file.read()
13
 
14
  # Print the text below
15
+ print(zenagers)
16
 
17
  # Print the text below
18
+ print(zenagers)
19
 
20
 
21
  #STEP 3 FROM SEMANTIC SEARCH
 
45
  return cleaned_chunks
46
 
47
  # Call the preprocess_text function and store the result in a cleaned_chunks variable
48
+ cleaned_chunks = preprocess_text(zenagers) # Complete this line
49
 
50
  #STEP 4 FROM SEMANTIC SEARCH
51