Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,9 @@ import pandas as pd
|
|
| 3 |
import docx
|
| 4 |
|
| 5 |
document = docx.Document('C:\Users\Rhodri Smith\OneDrive - Cardiff University\Desktop\ChatBot\Contamination_Monitoring\CONTAMINATION.docx')
|
| 6 |
-
|
|
|
|
|
|
|
| 7 |
|
| 8 |
def greet(name):
|
| 9 |
return "Hello " + name + "!"
|
|
|
|
| 3 |
import docx
|
| 4 |
|
| 5 |
document = docx.Document('C:\Users\Rhodri Smith\OneDrive - Cardiff University\Desktop\ChatBot\Contamination_Monitoring\CONTAMINATION.docx')
|
| 6 |
+
# Read the document
|
| 7 |
+
for para in document.paragraphs:
|
| 8 |
+
print(para.text)
|
| 9 |
|
| 10 |
def greet(name):
|
| 11 |
return "Hello " + name + "!"
|