ravinder2024 commited on
Commit
bae7de9
·
verified ·
1 Parent(s): 218d9f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -1,4 +1,7 @@
1
- import gradio as gr
2
- from transformers import pipeline
3
- pipe = pipeline("image-classification")
4
- gr.Interface.from_pipeline(pipe).launch()
 
 
 
 
1
+ #import gradio as gr
2
+ #from transformers import pipeline
3
+ #pipe = pipeline("image-classification")
4
+ #gr.Interface.from_pipeline(pipe).launch()
5
+ demo = gr.Interface(image_generator, gr.Textbox(), gr.Image())
6
+ demo.queue(max_size=20)
7
+ demo.launch()