orionweller commited on
Commit
9cb7743
1 Parent(s): 702b0a9

textbox for copying

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.Dropdown(questions), "text"],
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()