Spaces:
Runtime error
Runtime error
Kid Omar Costelo
commited on
Commit
·
6eebd1b
1
Parent(s):
a485226
Update prompt_dir in main.py to use relative path
Browse files
main.py
CHANGED
@@ -7,7 +7,7 @@ class Message(BaseModel):
|
|
7 |
instruction: str
|
8 |
|
9 |
# Getting the prompt from the prompt.txt file
|
10 |
-
prompt_dir = "
|
11 |
prompt = ''
|
12 |
with open(prompt_dir, 'r') as file:
|
13 |
prompt = file.read()
|
|
|
7 |
instruction: str
|
8 |
|
9 |
# Getting the prompt from the prompt.txt file
|
10 |
+
prompt_dir = "prompt.txt"
|
11 |
prompt = ''
|
12 |
with open(prompt_dir, 'r') as file:
|
13 |
prompt = file.read()
|