Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ def classify_text(text):
|
|
67 |
parsed_output = json_output_parser.parse(response)
|
68 |
end = time.time()
|
69 |
duration = end - start
|
70 |
-
return parsed_output['Answer']
|
71 |
|
72 |
# Create the Gradio interface
|
73 |
def gradio_app(text):
|
|
|
67 |
parsed_output = json_output_parser.parse(response)
|
68 |
end = time.time()
|
69 |
duration = end - start
|
70 |
+
return parsed_output, duration #['Answer']
|
71 |
|
72 |
# Create the Gradio interface
|
73 |
def gradio_app(text):
|