sdCarr commited on
Commit
4bd3ab4
1 Parent(s): 17bd6ae
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -16,12 +16,9 @@ image = gr.inputs.Image(shape=(192, 192))
16
  label = gr.outputs.Label()
17
  examples = ['cherry.jpeg','grape.jpeg', 'roma.jpeg','beefsteak.jpeg','green.jpeg','kumato.jpeg','heirloom.jpeg']
18
 
19
-
20
- enable_queue=True
21
-
22
- title = "Stable Diffusion Prompt Generator"
23
  description = 'This is a demo of the model series: "Tomatoes Classifier", in this case, addressed to: Tomatoes Classifier. To use, simply submit your image of a tomato or click on one of the examples.'
24
  article = "<div><center><img src='https://visitor-badge.glitch.me/badge?page_id=magicprompt_Stable Diffusion' alt='visitor badge'></center></div>"
25
 
26
- intf = gr.Interface(fn=predict, inputs=image, outputs=label, examples=examples,title=title,description=description,article=article)
 
27
 
 
16
  label = gr.outputs.Label()
17
  examples = ['cherry.jpeg','grape.jpeg', 'roma.jpeg','beefsteak.jpeg','green.jpeg','kumato.jpeg','heirloom.jpeg']
18
 
 
 
 
 
19
  description = 'This is a demo of the model series: "Tomatoes Classifier", in this case, addressed to: Tomatoes Classifier. To use, simply submit your image of a tomato or click on one of the examples.'
20
  article = "<div><center><img src='https://visitor-badge.glitch.me/badge?page_id=magicprompt_Stable Diffusion' alt='visitor badge'></center></div>"
21
 
22
+
23
+ intf = gr.Interface(fn=predict, inputs=image, outputs=label)
24