Spaces:
Runtime error
Runtime error
Rachel Rakov
commited on
Commit
·
5224e38
1
Parent(s):
04433f3
Troubleshooting GPT call
Browse files- eng_to_aslGloss_app.py +0 -9
eng_to_aslGloss_app.py
CHANGED
@@ -29,15 +29,6 @@ rules = openReadFiles(inRulesPath)
|
|
29 |
examples = openReadFiles(inExamplesPath)
|
30 |
exampleDialogues = openReadFiles(inDialoguesPath)
|
31 |
|
32 |
-
### In case we eventually want to upload files
|
33 |
-
# def uploadText():
|
34 |
-
# '''In case you want to upload a .txt file to translate to ASL gloss'''
|
35 |
-
# readFile = input("Enter the file path of the .txt you'd like to translate to ASL gloss: ")
|
36 |
-
# inFile = open(readFile, "r")
|
37 |
-
# data = inFile.read()
|
38 |
-
# inFile.close()
|
39 |
-
# print(f"Your file {readFile} has been uploaded")
|
40 |
-
# return data
|
41 |
|
42 |
def formatQuery(engText):
|
43 |
"""Add prompt instructions to English text for GPT4"""
|
|
|
29 |
examples = openReadFiles(inExamplesPath)
|
30 |
exampleDialogues = openReadFiles(inDialoguesPath)
|
31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
def formatQuery(engText):
|
34 |
"""Add prompt instructions to English text for GPT4"""
|