Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -273,9 +273,10 @@ st.markdown("""
|
|
| 273 |
|
| 274 |
|
| 275 |
# ================= LOGO =================
|
|
|
|
| 276 |
st.markdown("""
|
| 277 |
-
<div
|
| 278 |
-
<img src="logo.png"
|
| 279 |
</div>
|
| 280 |
""", unsafe_allow_html=True)
|
| 281 |
|
|
@@ -1200,9 +1201,6 @@ Rules:
|
|
| 1200 |
response = requests.post(API_URL, json=payload)
|
| 1201 |
generated_text = response.json()[0]["generated_text"]
|
| 1202 |
|
| 1203 |
-
# Pisahkan recommendation dan risk mitigation dari generated text
|
| 1204 |
-
# Di sini Anda bisa menambahkan kode untuk memisahkan recommendation dan risk mitigation dari generated text
|
| 1205 |
-
# Contoh: recommendation_text, risk_mitigation_text = generated_text.split("Risk Mitigation")
|
| 1206 |
recommendation_text = generated_text
|
| 1207 |
risk_mitigation_text = generated_text
|
| 1208 |
|
|
|
|
| 273 |
|
| 274 |
|
| 275 |
# ================= LOGO =================
|
| 276 |
+
|
| 277 |
st.markdown("""
|
| 278 |
+
<div class="logo-container">
|
| 279 |
+
<img src="logo.png" alt="Logo">
|
| 280 |
</div>
|
| 281 |
""", unsafe_allow_html=True)
|
| 282 |
|
|
|
|
| 1201 |
response = requests.post(API_URL, json=payload)
|
| 1202 |
generated_text = response.json()[0]["generated_text"]
|
| 1203 |
|
|
|
|
|
|
|
|
|
|
| 1204 |
recommendation_text = generated_text
|
| 1205 |
risk_mitigation_text = generated_text
|
| 1206 |
|