Spaces:
Sleeping
Sleeping
Edward J. Schwartz
commited on
Commit
·
e0ddff8
1
Parent(s):
356346e
debug
Browse files
app.py
CHANGED
@@ -125,6 +125,7 @@ with gr.Blocks() as demo:
|
|
125 |
def interpretation_function(text):
|
126 |
|
127 |
def model_wrap(input):
|
|
|
128 |
return model.fn(input)['confidences']
|
129 |
|
130 |
print(text, file=sys.stderr)
|
|
|
125 |
def interpretation_function(text):
|
126 |
|
127 |
def model_wrap(input):
|
128 |
+
print(f"model_wrap input = {input}", file=sys.stderr)
|
129 |
return model.fn(input)['confidences']
|
130 |
|
131 |
print(text, file=sys.stderr)
|