Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -131,7 +131,7 @@ def get_audiogen(prompt):
|
|
131 |
|
132 |
def get_tango(prompt):
|
133 |
try:
|
134 |
-
client = Client("
|
135 |
result = client.predict(
|
136 |
prompt, # str representing string value in 'Prompt' Textbox component
|
137 |
100, # int | float representing numeric value between 100 and 200 in 'Steps' Slider component
|
@@ -139,7 +139,7 @@ def get_tango(prompt):
|
|
139 |
api_name="/predict"
|
140 |
)
|
141 |
print(result)
|
142 |
-
return result
|
143 |
except:
|
144 |
raise gr.Error("Tango space API is not ready, please try again in few minutes ")
|
145 |
|
|
|
131 |
|
132 |
def get_tango(prompt):
|
133 |
try:
|
134 |
+
client = Client("fffiloni/tango")
|
135 |
result = client.predict(
|
136 |
prompt, # str representing string value in 'Prompt' Textbox component
|
137 |
100, # int | float representing numeric value between 100 and 200 in 'Steps' Slider component
|
|
|
139 |
api_name="/predict"
|
140 |
)
|
141 |
print(result)
|
142 |
+
return result
|
143 |
except:
|
144 |
raise gr.Error("Tango space API is not ready, please try again in few minutes ")
|
145 |
|