Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,8 +24,8 @@ def gpt3(texts):
|
|
| 24 |
|
| 25 |
# Function to elicit regex response from model
|
| 26 |
def greet(prompt):
|
| 27 |
-
txt= (f'''#---Regex Generator--- \n #Prompt: {prompt}\n#Regex
|
| 28 |
-
regex = gpt3(txt)
|
| 29 |
return regex
|
| 30 |
|
| 31 |
|
|
|
|
| 24 |
|
| 25 |
# Function to elicit regex response from model
|
| 26 |
def greet(prompt):
|
| 27 |
+
txt= (f'''#---Python Regex Generator--- \n #Prompt: {prompt}\n#Pythonic Regex :\nre''')
|
| 28 |
+
regex = "re"+gpt3(txt)
|
| 29 |
return regex
|
| 30 |
|
| 31 |
|