Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,9 @@ import os
|
|
7 |
runpod_id = os.environ['RUNPOD_ID']
|
8 |
token_id = os.environ['AUTH_TOKEN']
|
9 |
|
10 |
-
url = f'https://{runpod_id}-8000.proxy.runpod.net/generate-image/'
|
|
|
|
|
11 |
|
12 |
def generate_image_from_text(prompt, class_guidance):
|
13 |
headers = {
|
|
|
7 |
runpod_id = os.environ['RUNPOD_ID']
|
8 |
token_id = os.environ['AUTH_TOKEN']
|
9 |
|
10 |
+
#url = f'https://{runpod_id}-8000.proxy.runpod.net/generate-image/'
|
11 |
+
|
12 |
+
url = 'https://my-tld-app-container-dns.eastus.azurecontainer.io/generate-image/'
|
13 |
|
14 |
def generate_image_from_text(prompt, class_guidance):
|
15 |
headers = {
|