Spaces:
Sleeping
Sleeping
Surya Narayana
commited on
Update app.py
Browse files
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)
|