rafacamargo commited on
Commit
0a0b3f4
·
1 Parent(s): 738d2af

feat: improve gradio UI

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -9,13 +9,13 @@ def infer(word1, word2, word3):
9
  demo = gr.Interface(
10
  fn=infer,
11
  inputs=[
12
- gr.Textbox(label="carro"),
13
- gr.Textbox(label="asadelta"),
14
- gr.Textbox(label="assoviar"),
15
  ],
16
  outputs=gr.Textbox(label="Generated Word + Definition"),
17
  title="Rellow: Imaginary Word Generator",
18
- description="Enter three words — the model invents a new word and its definition."
19
  )
20
 
21
  demo.launch()
 
9
  demo = gr.Interface(
10
  fn=infer,
11
  inputs=[
12
+ gr.Textbox(label="First word"),
13
+ gr.Textbox(label="Second word"),
14
+ gr.Textbox(label="Third word"),
15
  ],
16
  outputs=gr.Textbox(label="Generated Word + Definition"),
17
  title="Rellow: Imaginary Word Generator",
18
+ description="Enter three words — the model generates an imaginary word and its definition."
19
  )
20
 
21
  demo.launch()