Apex-X commited on
Commit
e196633
·
verified ·
1 Parent(s): e04d5aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -8
app.py CHANGED
@@ -47,11 +47,6 @@ def predict_fn(image):
47
  return f"Error in prediction: {str(e)}"
48
 
49
  # Gradio application interface
50
- gr.Interface(
51
- fn=predict_fn,
52
- inputs="paint",
53
- outputs="label",
54
- title="DoodleDecoder",
55
- description="Draw something from: Car, House, Wine bottle, Chair, Table, Tree, Camera, Fish, Rain, Clock, Hat",
56
- article="Draw large with thick stroke."
57
- ).launch()
 
47
  return f"Error in prediction: {str(e)}"
48
 
49
  # Gradio application interface
50
+ import gradio as gr
51
+ gr.Interface(fn=predict_fn, inputs="paint", outputs="label", title="DoodleDecoder", description="Draw something from: Car, House, Wine bottle, Chair, Table, Tree, Camera, Fish, Rain, Clock, Hat", interpretation='default', article="Draw large with thick stroke.").launch()
52
+