nettaredam commited on
Commit
aa2991f
·
verified ·
1 Parent(s): 9dc0b42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +33 -1
app.py CHANGED
@@ -4,7 +4,39 @@ import anthropic
4
  import os
5
 
6
  # ✅ Configura layout
7
- st.set_page_config(page_title="Prompt Coach", layout="wide")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
 
9
 
10
  # ✅ Titolo e sottotitolo in verde fluo
 
4
  import os
5
 
6
  # ✅ Configura layout
7
+ st.markdown(
8
+ "<div style='background-color: #f5f5f5; padding: 20px; border-radius: 10px;'>"
9
+ "<h4 style='color: #39FF14;'>✅ Prompt raffinato</h4>"
10
+ f"<p style='color:#000'>{raffinato}</p>"
11
+ "</div>",
12
+ unsafe_allow_html=True
13
+ )
14
+ st.markdown(
15
+ '''
16
+ <style>
17
+ div.stButton > button {
18
+ background-color: #003366;
19
+ color: white;
20
+ padding: 0.75em 1.5em;
21
+ font-size: 1.1em;
22
+ border-radius: 10px;
23
+ border: none;
24
+ }
25
+ </style>
26
+ ''',
27
+ unsafe_allow_html=True
28
+ )
29
+
30
+ <style>
31
+ @keyframes pulse {
32
+ 0% { box-shadow: 0 0 0 0 rgba(57,255,20, 0.5); }
33
+ 70% { box-shadow: 0 0 0 10px rgba(57,255,20, 0); }
34
+ 100% { box-shadow: 0 0 0 0 rgba(57,255,20, 0); }
35
+ }
36
+ .pulsing-button {
37
+ animation: pulse 2s infinite;
38
+ }
39
+ </style>
40
 
41
 
42
  # ✅ Titolo e sottotitolo in verde fluo