biulas commited on
Commit
1383970
·
1 Parent(s): 64ab4ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -18,7 +18,7 @@ if plt == 'Linux': pathlib.WindowsPath = pathlib.PosixPath
18
  title = "Face condition Analyzer"
19
  description = "A face condition detector trained on the custom dataset with fastai. Created using Gradio and HuggingFace Spaces."
20
  examples = [['harmonal_acne.jpg'],['forehead_wrinkles.jpg'],['oily_skin.jpg']]
21
- enable_queue=True
22
 
23
  # gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),title=title,
24
  # description=description,examples=examples,enable_queue=enable_queue).launch()
@@ -46,4 +46,5 @@ with gr.Blocks(title=title,description=description,examples=examples,enable_queu
46
  for i,current_row in df_temp.iterrows():
47
  html_box = gr.HTML("<span><a href='{}'><img src ='{}'></a></span>".format(current_row['profit_link'],current_row['product_image']))
48
 
49
- demo.launch()
 
 
18
  title = "Face condition Analyzer"
19
  description = "A face condition detector trained on the custom dataset with fastai. Created using Gradio and HuggingFace Spaces."
20
  examples = [['harmonal_acne.jpg'],['forehead_wrinkles.jpg'],['oily_skin.jpg']]
21
+
22
 
23
  # gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),title=title,
24
  # description=description,examples=examples,enable_queue=enable_queue).launch()
 
46
  for i,current_row in df_temp.iterrows():
47
  html_box = gr.HTML("<span><a href='{}'><img src ='{}'></a></span>".format(current_row['profit_link'],current_row['product_image']))
48
 
49
+ demo.launch()
50
+ enable_queue=True