Spaces:
Sleeping
Sleeping
Commit
·
0a0b3f4
1
Parent(s):
738d2af
feat: improve gradio UI
Browse files
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="
|
| 13 |
-
gr.Textbox(label="
|
| 14 |
-
gr.Textbox(label="
|
| 15 |
],
|
| 16 |
outputs=gr.Textbox(label="Generated Word + Definition"),
|
| 17 |
title="Rellow: Imaginary Word Generator",
|
| 18 |
-
description="Enter three words — the model
|
| 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()
|