Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def use_graphcodebert(input):
|
|
22 |
|
23 |
# Create and launch Gradio interface
|
24 |
# Create and launch Gradio interface
|
25 |
-
iface = gr.Interface
|
26 |
fn=use_graphcodebert,
|
27 |
inputs=input,
|
28 |
outputs=output,
|
|
|
22 |
|
23 |
# Create and launch Gradio interface
|
24 |
# Create and launch Gradio interface
|
25 |
+
iface = gr.Interface( # Use from_pretrained instead of from_pipeline
|
26 |
fn=use_graphcodebert,
|
27 |
inputs=input,
|
28 |
outputs=output,
|