Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -229,10 +229,10 @@ public class y {
|
|
| 229 |
}"""]]
|
| 230 |
# We instantiate the Textbox class
|
| 231 |
textbox = gr.Textbox(label="Type Java code snippet:", placeholder="replace variable with [MASK]", lines=10)
|
|
|
|
| 232 |
|
| 233 |
gr.Interface(title = title, description = description, examples = ex, fn=greet, inputs=[
|
| 234 |
-
textbox,
|
| 235 |
-
gr.Textbox(type="text", value = 0, label="Number of tokens in name:", placeholder="0 for randomly sampled number of tokens")
|
| 236 |
], outputs="text").launch()
|
| 237 |
|
| 238 |
|
|
|
|
| 229 |
}"""]]
|
| 230 |
# We instantiate the Textbox class
|
| 231 |
textbox = gr.Textbox(label="Type Java code snippet:", placeholder="replace variable with [MASK]", lines=10)
|
| 232 |
+
textbox1 = gr.Textbox(label="Number of tokens in name:", placeholder="0 for randomly sampled number of tokens",lines=1)
|
| 233 |
|
| 234 |
gr.Interface(title = title, description = description, examples = ex, fn=greet, inputs=[
|
| 235 |
+
textbox,textbox1
|
|
|
|
| 236 |
], outputs="text").launch()
|
| 237 |
|
| 238 |
|