Spaces:
Sleeping
Sleeping
liudongqing
commited on
Commit
·
73bdba2
1
Parent(s):
6bcbf0d
Fixed the API interface
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def score_it(input_img):
|
|
30 |
print(processor.decode(output[0]))
|
31 |
|
32 |
|
33 |
-
demo = gr.
|
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'],
|