Chan-Y commited on
Commit
7f28044
1 Parent(s): 7a0492c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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'], duration
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):