Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,10 @@ import time
|
|
3 |
from gradio_client import Client
|
4 |
import concurrent.futures
|
5 |
|
|
|
|
|
|
|
|
|
6 |
def grand_para(num):
|
7 |
client = Client("Renecto/child")
|
8 |
result = client.submit(
|
|
|
3 |
from gradio_client import Client
|
4 |
import concurrent.futures
|
5 |
|
6 |
+
with open(os.getenv("GOOGLE_APPLICATION_CREDENTIALS"), "w") as f:
|
7 |
+
f.write(os.getenv("gcp_service_json"))
|
8 |
+
f.close()
|
9 |
+
|
10 |
def grand_para(num):
|
11 |
client = Client("Renecto/child")
|
12 |
result = client.submit(
|