Spaces:
Running
on
L40S
Running
on
L40S
Update app.py
Browse files
app.py
CHANGED
@@ -104,8 +104,7 @@ def predict(request: gr.Request, *args, progress=gr.Progress(track_tqdm=True)):
|
|
104 |
payload = {"input": {}}
|
105 |
|
106 |
|
107 |
-
|
108 |
-
base_url = parsed_url.scheme + "://" + parsed_url.netloc
|
109 |
for i, key in enumerate(names):
|
110 |
value = args[i]
|
111 |
if value and (os.path.exists(str(value))):
|
|
|
104 |
payload = {"input": {}}
|
105 |
|
106 |
|
107 |
+
base_url = "http://0.0.0.0:7860"
|
|
|
108 |
for i, key in enumerate(names):
|
109 |
value = args[i]
|
110 |
if value and (os.path.exists(str(value))):
|