Spaces:
Runtime error
Runtime error
orionweller
commited on
Commit
•
9cb7743
1
Parent(s):
702b0a9
textbox for copying
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def calc_rouge_score(og_question, pred):
|
|
27 |
|
28 |
iface = gr.Interface(
|
29 |
fn=calc_rouge_score,
|
30 |
-
inputs=[gr.
|
31 |
outputs=["text"],
|
32 |
examples=[[item] for item in questions])
|
33 |
iface.launch()
|
27 |
|
28 |
iface = gr.Interface(
|
29 |
fn=calc_rouge_score,
|
30 |
+
inputs=[gr.Textbox(placeholder=questions[0]), "text"],
|
31 |
outputs=["text"],
|
32 |
examples=[[item] for item in questions])
|
33 |
iface.launch()
|