Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -191,7 +191,7 @@ ex.printStackTrace();
|
|
191 |
}
|
192 |
}
|
193 |
}
|
194 |
-
}""", "
|
195 |
import java.io.*;
|
196 |
|
197 |
public class s {
|
@@ -226,7 +226,7 @@ public class y {
|
|
226 |
e.printStackTrace();
|
227 |
}
|
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 |
textbox1 = gr.Textbox(label="Number of tokens in name:", placeholder="0 for randomly sampled number of tokens",lines=1)
|
|
|
191 |
}
|
192 |
}
|
193 |
}
|
194 |
+
}""", "0"], ["""import java.net.*;
|
195 |
import java.io.*;
|
196 |
|
197 |
public class s {
|
|
|
226 |
e.printStackTrace();
|
227 |
}
|
228 |
}
|
229 |
+
}""", "2"]]
|
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)
|