Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from gradio_client import Client, handle_file
|
| 3 |
-
from IPython.display import Image, display
|
| 4 |
|
| 5 |
def generate_image(prompt, image_url=None, image_file=None):
|
| 6 |
# Initialize the client
|
|
@@ -76,4 +75,4 @@ def gradio_interface():
|
|
| 76 |
|
| 77 |
if __name__ == "__main__":
|
| 78 |
demo = gradio_interface()
|
| 79 |
-
demo.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from gradio_client import Client, handle_file
|
|
|
|
| 3 |
|
| 4 |
def generate_image(prompt, image_url=None, image_file=None):
|
| 5 |
# Initialize the client
|
|
|
|
| 75 |
|
| 76 |
if __name__ == "__main__":
|
| 77 |
demo = gradio_interface()
|
| 78 |
+
demo.launch()
|