File size: 528 Bytes
df4d5d7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
import streamlit as st
import sys
st.write("Python version:", sys.version)
st.write("Starting app...")
st.title("LLaMA Chatbot")
st.write("Status: Basic app structure loaded")
# Test imports to verify installation
try:
import torch
import transformers
import peft
st.success("✅ All required packages are installed!")
st.write("Torch version:", torch.__version__)
st.write("Transformers version:", transformers.__version__)
except Exception as e:
st.error(f"❌ Error loading packages: {str(e)}") |