Surya Narayana commited on
Commit
ac11fa0
·
verified ·
1 Parent(s): 9511891

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,4 +1,6 @@
1
  import gradio as gr
 
 
2
 
3
  def generate_from_text(text, seed, num_steps, _=gr.Progress(track_tqdm=True)):
4
  result = ov_pipe(text, num_inference_steps=num_steps, seed=seed)
 
1
  import gradio as gr
2
+ # Example import in your app.py
3
+ from text_to_image import ov_pipe
4
 
5
  def generate_from_text(text, seed, num_steps, _=gr.Progress(track_tqdm=True)):
6
  result = ov_pipe(text, num_inference_steps=num_steps, seed=seed)