omega commited on
Commit
15250db
1 Parent(s): 7bd1a6c
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -19,6 +19,9 @@ def predict(img):
19
  pred, pred_idx, probs = learn.predict(img)
20
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
21
 
 
 
 
22
  import gradio as gr
23
 
24
  gr.Interface(
 
19
  pred, pred_idx, probs = learn.predict(img)
20
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
21
 
22
+ import os
23
+ os.system("pip install --upgrade --force-reinstall gradio==3.50")
24
+
25
  import gradio as gr
26
 
27
  gr.Interface(