codeteach commited on
Commit
7ac6acd
1 Parent(s): 93b4c8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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="file")
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
+