ejschwartz commited on
Commit
8cb134d
·
verified ·
1 Parent(s): 000c947

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -9,7 +9,6 @@ model = AutoModelForCausalLM.from_pretrained(model_path, torch_dtype=torch.bfloa
9
 
10
  @spaces.GPU
11
  def predict(input_asm):
12
- input_asm = '\n'.join(c_func).strip()
13
  before = f"# This is the assembly code:\n"#prompt
14
  after = "\n# What is the source code?\n"#prompt
15
  input_prompt = before+input_asm.strip()+after
 
9
 
10
  @spaces.GPU
11
  def predict(input_asm):
 
12
  before = f"# This is the assembly code:\n"#prompt
13
  after = "\n# What is the source code?\n"#prompt
14
  input_prompt = before+input_asm.strip()+after