kells1986 commited on
Commit
3ff1651
·
1 Parent(s): 550478d

Improve text box titles

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -47,9 +47,11 @@ def run_match(source_text, destination_text):
47
  with gr.Blocks() as demo:
48
  with gr.Row():
49
  with gr.Column():
50
- source_text = gr.Textbox(lines=10, label="Source Text", name="source_text")
 
51
  with gr.Column():
52
- dest_text = gr.Textbox(lines=10, label="Destination Text", name="destination_text")
 
53
  with gr.Column():
54
  matches = gr.Textbox(lines=10, label="Matches", name="matches")
55
  with gr.Row():
 
47
  with gr.Blocks() as demo:
48
  with gr.Row():
49
  with gr.Column():
50
+ source_text = gr.Textbox(lines=10, label="Query Text", name="source_text",
51
+ default="diavola with extra chillies\nseafood\nmargherita")
52
  with gr.Column():
53
+ dest_text = gr.Textbox(lines=10, label="Target Text", name="destination_text",
54
+ default="cheese pizza\nhot and spicy pizza\ntuna, prawn and onion pizza")
55
  with gr.Column():
56
  matches = gr.Textbox(lines=10, label="Matches", name="matches")
57
  with gr.Row():