Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,13 +4,9 @@ import tensorflow as tf
|
|
| 4 |
import json
|
| 5 |
import os
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
# Get the directory of the running script
|
| 11 |
-
script_directory = os.path.dirname(script_path)
|
| 12 |
-
print(f"The script is located in: {script_directory}")
|
| 13 |
-
|
| 14 |
|
| 15 |
print("Loading the model......")
|
| 16 |
model_name = "WICKED4950/Irisonego5"
|
|
|
|
| 4 |
import json
|
| 5 |
import os
|
| 6 |
|
| 7 |
+
data = {"Interactions":[]}
|
| 8 |
+
with open("question_answer.json", "w") as file:
|
| 9 |
+
json.dump(data, file, indent=4)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
print("Loading the model......")
|
| 12 |
model_name = "WICKED4950/Irisonego5"
|