Spaces:
Sleeping
Sleeping
fix: don't print the secret vars
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def func(hf_token, repo, revision, target_repo):
|
|
25 |
)
|
26 |
print(os.listdir(CURRENT_MODEL_PATH))
|
27 |
|
28 |
-
return f"
|
29 |
|
30 |
iface = gr.Interface(fn=func, inputs=["text","text","text"], outputs="text")
|
31 |
iface.launch()
|
|
|
25 |
)
|
26 |
print(os.listdir(CURRENT_MODEL_PATH))
|
27 |
|
28 |
+
return f"The content of {repo}/{revision} has been copied to {target_repo}!"
|
29 |
|
30 |
iface = gr.Interface(fn=func, inputs=["text","text","text"], outputs="text")
|
31 |
iface.launch()
|