Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,8 +6,8 @@ from gradio_client import Client # 가정: gradio_client 라이브러리가 사
|
|
6 |
image_model = pipeline("image-classification", model="google/vit-base-patch16-224")
|
7 |
|
8 |
def generate_music(image_classification_result):
|
9 |
-
|
10 |
-
|
11 |
# 부정적인 프롬프트 추가
|
12 |
negative_prompt = "Low quality."
|
13 |
|
|
|
6 |
image_model = pipeline("image-classification", model="google/vit-base-patch16-224")
|
7 |
|
8 |
def generate_music(image_classification_result):
|
9 |
+
# 기본 프롬프트 설정
|
10 |
+
base_prompt = "The rnb beat of 85BPM drums. playing Violin."
|
11 |
# 부정적인 프롬프트 추가
|
12 |
negative_prompt = "Low quality."
|
13 |
|