Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ Never mention Amazon or Nova.
|
|
45 |
|
46 |
# HuggingFace Configuration
|
47 |
HF_TOKEN = os.getenv("HF_TOKEN") # Set this in your Space's secrets
|
48 |
-
REPO_ID = "
|
49 |
HF_API = HfApi()
|
50 |
|
51 |
# Local directories (for temporary storage)
|
@@ -255,9 +255,6 @@ with gr.Blocks(title="Multimodal Chat with Full Conversation Logging") as demo:
|
|
255 |
- 📸 **Image tracking** - all images linked to specific messages
|
256 |
- 🏷️ **Session management** - unique session ID per conversation
|
257 |
|
258 |
-
**Storage:**
|
259 |
-
- 🤗 HF Dataset: {"✅ Enabled" if HF_TOKEN else "❌ Disabled (set HF_TOKEN)"} - Repo: `{REPO_ID}`
|
260 |
-
- 🖼️ Images: {"✅ Uploaded to HF repo" if HF_TOKEN else "❌ Local only"}
|
261 |
"""
|
262 |
)
|
263 |
|
|
|
45 |
|
46 |
# HuggingFace Configuration
|
47 |
HF_TOKEN = os.getenv("HF_TOKEN") # Set this in your Space's secrets
|
48 |
+
REPO_ID = "collinear-ai/nova-premier-redteaming-external" # Change this to your actual HF dataset repo
|
49 |
HF_API = HfApi()
|
50 |
|
51 |
# Local directories (for temporary storage)
|
|
|
255 |
- 📸 **Image tracking** - all images linked to specific messages
|
256 |
- 🏷️ **Session management** - unique session ID per conversation
|
257 |
|
|
|
|
|
|
|
258 |
"""
|
259 |
)
|
260 |
|