AngelBottomless yoinked commited on
Commit
6f88d2c
1 Parent(s): 50680a0

try without grcl(file) (#4)

Browse files

- try without grcl(file) (51853d595abf1f271d390471619b2755fae49383)


Co-authored-by: yoinked <yoinked@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -195,7 +195,7 @@ def generate(
195
 
196
  def genwrap(*args, **kwargs):
197
  ipth, mtd = generate(*args, **kwargs)
198
- r = GRAD_CLIENT.predict(grcl.file(ipth), "chen-evangelion", 0.4, False, False, api_name="/classify")
199
  ratings = val[0]
200
  rating = rating['confidences']
201
  highestval, classtype = -1, "aa"
 
195
 
196
  def genwrap(*args, **kwargs):
197
  ipth, mtd = generate(*args, **kwargs)
198
+ r = GRAD_CLIENT.predict(ipth, "chen-evangelion", 0.4, False, False, api_name="/classify")
199
  ratings = val[0]
200
  rating = rating['confidences']
201
  highestval, classtype = -1, "aa"