Edward J. Schwartz commited on
Commit
4c721b6
·
1 Parent(s): 96362ce
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -1
app.py CHANGED
@@ -110,7 +110,7 @@ with gr.Blocks() as demo:
110
  #disassembly_str = str(model_results) + str(load_results)
111
 
112
  return {disassembly: gr.Textbox.update(value=disassembly_str),
113
- clazz: gr.Label.update(top_k)
114
  #clazz: gr.Label.update(value="Method" if model_results[0]["label"] == "method" else "Function")}
115
  }
116
 
 
110
  #disassembly_str = str(model_results) + str(load_results)
111
 
112
  return {disassembly: gr.Textbox.update(value=disassembly_str),
113
+ clazz: gr.Label.update(load_results)
114
  #clazz: gr.Label.update(value="Method" if model_results[0]["label"] == "method" else "Function")}
115
  }
116
 
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
  gradio
2
  pandas
3
  numpy >= 1.22.4
4
- transformers[torch]
 
1
  gradio
2
  pandas
3
  numpy >= 1.22.4
4
+ # transformers[torch]