Spaces:
Runtime error
Runtime error
Commit
·
18b8d1a
1
Parent(s):
78b2970
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import requests
|
2 |
import gradio as gr
|
3 |
from PIL import Image
|
|
|
4 |
|
5 |
def t2i(text):
|
6 |
prompt_url = f"https://aadarsh-text-to-image-mymvubi2mq-el.a.run.app/t2i/{text}"
|
|
|
1 |
import requests
|
2 |
import gradio as gr
|
3 |
from PIL import Image
|
4 |
+
import base64
|
5 |
|
6 |
def t2i(text):
|
7 |
prompt_url = f"https://aadarsh-text-to-image-mymvubi2mq-el.a.run.app/t2i/{text}"
|