Spaces:
Sleeping
Sleeping
Update app.py
Browse filesplaceholder adjustments
app.py
CHANGED
@@ -18,12 +18,11 @@ processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
|
|
18 |
model.to("cuda:0")
|
19 |
|
20 |
PLACEHOLDER = """
|
21 |
-
<div style="padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center; height: 100vh;">
|
22 |
-
<
|
23 |
-
|
24 |
-
<
|
25 |
-
<
|
26 |
-
<ul style="text-align: left; font-size: 16px; list-style: none; padding: 0; opacity: 0.85;">
|
27 |
<li>πΈ <strong>Upload</strong> a photo of your exercise.</li>
|
28 |
<li>β‘ <strong>Get instant feedback</strong> to perfect your form.</li>
|
29 |
<li>π₯ <strong>Improve your workouts</strong> with expert tips!</li>
|
@@ -35,6 +34,7 @@ PLACEHOLDER = """
|
|
35 |
|
36 |
|
37 |
|
|
|
38 |
@spaces.GPU
|
39 |
def bot_streaming(message, history):
|
40 |
print(f'message is - {message}')
|
|
|
18 |
model.to("cuda:0")
|
19 |
|
20 |
PLACEHOLDER = """
|
21 |
+
<div style="padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; background-image: url('https://huggingface.co/spaces/simonraj/PersonalTrainer-Arnold/blob/main/fitness_coach_app_resized.jpg'); background-size: cover; background-position: center; width: 100%; height: 100vh;">
|
22 |
+
<div style="background-color: rgba(255, 255, 255, 0.8); padding: 20px; border-radius: 10px; width: 80%; max-width: 550px; text-align: center;">
|
23 |
+
<h1 style="font-size: 32px; margin-bottom: 10px; color: black;">Get Ripped with Arnold's AI Coach</h1>
|
24 |
+
<p style="font-size: 20px; margin-bottom: 10px; color: black;">Welcome to the ultimate fitness companion! πͺ</p>
|
25 |
+
<ul style="text-align: left; font-size: 18px; list-style: none; padding: 0; color: black;">
|
|
|
26 |
<li>πΈ <strong>Upload</strong> a photo of your exercise.</li>
|
27 |
<li>β‘ <strong>Get instant feedback</strong> to perfect your form.</li>
|
28 |
<li>π₯ <strong>Improve your workouts</strong> with expert tips!</li>
|
|
|
34 |
|
35 |
|
36 |
|
37 |
+
|
38 |
@spaces.GPU
|
39 |
def bot_streaming(message, history):
|
40 |
print(f'message is - {message}')
|