Spaces:
Runtime error
Runtime error
Commit ·
82c3d25
1
Parent(s): 52ae292
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,6 +5,10 @@ import langchain
|
|
| 5 |
import agents
|
| 6 |
from streamlit.script_runner import StopException
|
| 7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
# Define function to reverse prompt engineer code
|
| 9 |
def reverse_prompt_engineer(code):
|
| 10 |
# Use natural language processing to analyze code
|
|
|
|
| 5 |
import agents
|
| 6 |
from streamlit.script_runner import StopException
|
| 7 |
|
| 8 |
+
# Disable TensorFlow v2 behavior
|
| 9 |
+
import tensorflow.compat.v1 as tf
|
| 10 |
+
tf.disable_v2_behavior()
|
| 11 |
+
|
| 12 |
# Define function to reverse prompt engineer code
|
| 13 |
def reverse_prompt_engineer(code):
|
| 14 |
# Use natural language processing to analyze code
|