Synced repo using 'sync_with_huggingface' Github Action
Browse files- audioldm2.py +0 -5
- deepfloydif.py +0 -4
- falcon.py +0 -4
- musicgen.py +0 -4
audioldm2.py
CHANGED
@@ -46,11 +46,6 @@ async def audioldm2_create(ctx, prompt):
|
|
46 |
small_prompt = prompt
|
47 |
thread = await message.create_thread(name=small_prompt, auto_archive_duration=60)
|
48 |
|
49 |
-
await thread.send(
|
50 |
-
"[DISCLAIMER: HuggingBot is a beta feature; The AudioLDM2"
|
51 |
-
" model can be found here: https://huggingface.co/spaces/"
|
52 |
-
"haoheliu/audioldm2-text2audio-text2music]"
|
53 |
-
)
|
54 |
if os.environ.get("TEST_ENV") == "True":
|
55 |
print("Running audioldm2_create_job...")
|
56 |
|
|
|
46 |
small_prompt = prompt
|
47 |
thread = await message.create_thread(name=small_prompt, auto_archive_duration=60)
|
48 |
|
|
|
|
|
|
|
|
|
|
|
49 |
if os.environ.get("TEST_ENV") == "True":
|
50 |
print("Running audioldm2_create_job...")
|
51 |
|
deepfloydif.py
CHANGED
@@ -102,10 +102,6 @@ async def deepfloydif_stage_1(ctx, prompt, client):
|
|
102 |
else:
|
103 |
small_prompt = prompt
|
104 |
thread = await message.create_thread(name=f"{small_prompt}", auto_archive_duration=60)
|
105 |
-
await thread.send(
|
106 |
-
"[DISCLAIMER: HuggingBot is a **highly experimental** beta feature; Additional information on the"
|
107 |
-
" DeepfloydIF model can be found here: https://huggingface.co/spaces/DeepFloyd/IF"
|
108 |
-
)
|
109 |
await thread.send(f"{ctx.author.mention} Generating images in thread, can take ~1 minute...")
|
110 |
|
111 |
loop = asyncio.get_running_loop()
|
|
|
102 |
else:
|
103 |
small_prompt = prompt
|
104 |
thread = await message.create_thread(name=f"{small_prompt}", auto_archive_duration=60)
|
|
|
|
|
|
|
|
|
105 |
await thread.send(f"{ctx.author.mention} Generating images in thread, can take ~1 minute...")
|
106 |
|
107 |
loop = asyncio.get_running_loop()
|
falcon.py
CHANGED
@@ -73,10 +73,6 @@ async def try_falcon(ctx, prompt):
|
|
73 |
else:
|
74 |
small_prompt = prompt
|
75 |
thread = await message.create_thread(name=small_prompt, auto_archive_duration=60) # interaction.user
|
76 |
-
await thread.send(
|
77 |
-
"[DISCLAIMER: HuggingBot is a **highly experimental** beta feature; The Falcon model and system"
|
78 |
-
" prompt can be found here: https://huggingface.co/spaces/HuggingFaceH4/falcon-chat]"
|
79 |
-
)
|
80 |
|
81 |
if os.environ.get("TEST_ENV") == "True":
|
82 |
print("Running falcon_initial_generation...")
|
|
|
73 |
else:
|
74 |
small_prompt = prompt
|
75 |
thread = await message.create_thread(name=small_prompt, auto_archive_duration=60) # interaction.user
|
|
|
|
|
|
|
|
|
76 |
|
77 |
if os.environ.get("TEST_ENV") == "True":
|
78 |
print("Running falcon_initial_generation...")
|
musicgen.py
CHANGED
@@ -40,10 +40,6 @@ async def music_create(ctx, prompt):
|
|
40 |
small_prompt = prompt
|
41 |
thread = await message.create_thread(name=small_prompt, auto_archive_duration=60)
|
42 |
|
43 |
-
await thread.send(
|
44 |
-
"[DISCLAIMER: HuggingBot is a beta feature; The MusicGen"
|
45 |
-
" model can be found here: https://huggingface.co/spaces/facebook/MusicGen]"
|
46 |
-
)
|
47 |
if os.environ.get("TEST_ENV") == "True":
|
48 |
print("Running music_create_job...")
|
49 |
|
|
|
40 |
small_prompt = prompt
|
41 |
thread = await message.create_thread(name=small_prompt, auto_archive_duration=60)
|
42 |
|
|
|
|
|
|
|
|
|
43 |
if os.environ.get("TEST_ENV") == "True":
|
44 |
print("Running music_create_job...")
|
45 |
|