liudongqing commited on
Commit
73bdba2
·
1 Parent(s): 6bcbf0d

Fixed the API interface

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def score_it(input_img):
30
  print(processor.decode(output[0]))
31
 
32
 
33
- demo = gr.ChatInterface(fn=score_it, title="Upload your English script and get the score",
34
 
35
  inputs=[gr.Image()],
36
  outputs=['text'],
 
30
  print(processor.decode(output[0]))
31
 
32
 
33
+ demo = gr.Interface(fn=score_it, title="Upload your English script and get the score",
34
 
35
  inputs=[gr.Image()],
36
  outputs=['text'],