Add debug statement
Browse files
app.py
CHANGED
@@ -36,6 +36,8 @@ def predict(input):
|
|
36 |
def main():
|
37 |
global interpreter
|
38 |
print("Loading model...")
|
|
|
|
|
39 |
interpreter = Interpreter.load(MODEL_PATH)
|
40 |
print("Model loaded.")
|
41 |
iface = gr.Interface(fn=predict, inputs="text", outputs="text")
|
|
|
36 |
def main():
|
37 |
global interpreter
|
38 |
print("Loading model...")
|
39 |
+
import os
|
40 |
+
print(os.listdir("woz_nlu_agent/models/nlu"))
|
41 |
interpreter = Interpreter.load(MODEL_PATH)
|
42 |
print("Model loaded.")
|
43 |
iface = gr.Interface(fn=predict, inputs="text", outputs="text")
|