Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,5 @@ iface = gr.Interface( # Use from_pretrained instead of from_pipeline
|
|
28 |
outputs=output,
|
29 |
title="GraphCodeBERT Code Synthesis", # Add a title for the web app
|
30 |
description="Enter a natural language query and get a code snippet generated by GraphCodeBERT.", # Add a description for the web app
|
31 |
-
examples=[["create a function that returns the sum of two numbers"], ["sort a list of numbers in ascending order"]], # Add some examples for the input
|
32 |
-
theme="huggingface" # Choose a theme for the web app
|
33 |
)
|
34 |
iface.launch()
|
|
|
28 |
outputs=output,
|
29 |
title="GraphCodeBERT Code Synthesis", # Add a title for the web app
|
30 |
description="Enter a natural language query and get a code snippet generated by GraphCodeBERT.", # Add a description for the web app
|
|
|
|
|
31 |
)
|
32 |
iface.launch()
|