Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ ocr_pipe = pipeline("image-to-text", model="jinhybr/OCR-Donut-CORD")
|
|
25 |
|
26 |
|
27 |
# Define detailed descriptions
|
28 |
-
|
29 |
("Academic", "Task 1"): """You are evaluating an Academic Task 1. The candidate is expected to describe, summarize, or explain a visual representation (such as a graph, chart, table, or diagram). They should write a minimum of 150 words. Key features to look for include:
|
30 |
|
31 |
1. **Introduction:** A brief introduction of what the visual representation is about.
|
@@ -157,4 +157,4 @@ inputs = [
|
|
157 |
|
158 |
outputs = gr.Markdown(label="Result")
|
159 |
|
160 |
-
gr.Interface(fn=evaluate, inputs=inputs, outputs=outputs, title="IELTS Writing Evaluation").launch(share=True)
|
|
|
25 |
|
26 |
|
27 |
# Define detailed descriptions
|
28 |
+
description = {
|
29 |
("Academic", "Task 1"): """You are evaluating an Academic Task 1. The candidate is expected to describe, summarize, or explain a visual representation (such as a graph, chart, table, or diagram). They should write a minimum of 150 words. Key features to look for include:
|
30 |
|
31 |
1. **Introduction:** A brief introduction of what the visual representation is about.
|
|
|
157 |
|
158 |
outputs = gr.Markdown(label="Result")
|
159 |
|
160 |
+
gr.Interface(fn=evaluate, inputs=inputs, outputs=outputs, title="IELTS Writing Evaluation").launch(share=True, debug=True)
|