ramky1979 commited on
Commit
ef06e2c
·
verified ·
1 Parent(s): 552dc6b

Update app.py

Browse files

fixed input , output attributes error.

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,8 +6,8 @@ tokenizer = AutoTokenizer.from_pretrained("microsoft/graphcodebert-base")
6
  model = AutoModel.from_pretrained("microsoft/graphcodebert-base")
7
 
8
  # Define input and output interfaces
9
- input = gr.inputs.Textbox(lines=5, label="Input")
10
- output = gr.outputs.Textbox(label="Output")
11
 
12
  # Define function to use GraphCodeBERT
13
  def use_graphcodebert(input):
 
6
  model = AutoModel.from_pretrained("microsoft/graphcodebert-base")
7
 
8
  # Define input and output interfaces
9
+ input = gr.Textbox(lines=5, label="Input")
10
+ output = gr.Textbox(label="Output")
11
 
12
  # Define function to use GraphCodeBERT
13
  def use_graphcodebert(input):