Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -228,9 +228,9 @@ public class y {
|
|
228 |
}
|
229 |
}"""]
|
230 |
# We instantiate the Textbox class
|
231 |
-
textbox = gr.Textbox(
|
232 |
|
233 |
-
gr.Interface(fn=greet, inputs=[
|
234 |
textbox,
|
235 |
gr.Textbox(type="text", label="Number of tokens in name:", placeholder="0 for randomly sampled number of tokens")
|
236 |
], outputs="text").launch()
|
|
|
228 |
}
|
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", label="Number of tokens in name:", placeholder="0 for randomly sampled number of tokens")
|
236 |
], outputs="text").launch()
|