ramky1979 commited on
Commit
ae81c61
·
verified ·
1 Parent(s): f6a1e93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.from_pretrained( # Use from_pretrained instead of from_pipeline
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,