Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -85,7 +85,7 @@ with gr.Blocks() as interface:
|
|
| 85 |
gr.Markdown("# PDF Text Evaluator")
|
| 86 |
gr.Markdown("Upload a rubric as a PDF or paste the rubric text, then paste text for evaluation.")
|
| 87 |
|
| 88 |
-
rubric_pdf_input = gr.File(label="Upload Rubric PDF (optional)", type="
|
| 89 |
rubric_text_input = gr.Textbox(lines=10, placeholder="Or enter your rubric text here...", label="Rubric Text (optional)")
|
| 90 |
text_input = gr.Textbox(lines=10, placeholder="Paste the text to be evaluated here...", label="Text to Evaluate")
|
| 91 |
|
|
@@ -103,3 +103,4 @@ interface.launch()
|
|
| 103 |
|
| 104 |
|
| 105 |
|
|
|
|
|
|
| 85 |
gr.Markdown("# PDF Text Evaluator")
|
| 86 |
gr.Markdown("Upload a rubric as a PDF or paste the rubric text, then paste text for evaluation.")
|
| 87 |
|
| 88 |
+
rubric_pdf_input = gr.File(label="Upload Rubric PDF (optional)", type="binary")
|
| 89 |
rubric_text_input = gr.Textbox(lines=10, placeholder="Or enter your rubric text here...", label="Rubric Text (optional)")
|
| 90 |
text_input = gr.Textbox(lines=10, placeholder="Paste the text to be evaluated here...", label="Text to Evaluate")
|
| 91 |
|
|
|
|
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
+
|