Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,8 +6,9 @@ import os
|
|
| 6 |
HF_TOKEN = os.getenv("HF_TOKEN") # Replace with your actual token if not using an environment variable
|
| 7 |
|
| 8 |
# Initialize the Gradio Client for the specified API
|
| 9 |
-
client = Client("on1onmangoes/CNIHUB10724v10", hf_token=HF_TOKEN)
|
| 10 |
-
|
|
|
|
| 11 |
|
| 12 |
# Function to handle chat API call
|
| 13 |
def stream_chat_with_rag(
|
|
|
|
| 6 |
HF_TOKEN = os.getenv("HF_TOKEN") # Replace with your actual token if not using an environment variable
|
| 7 |
|
| 8 |
# Initialize the Gradio Client for the specified API
|
| 9 |
+
#client = Client("on1onmangoes/CNIHUB10724v10", hf_token=HF_TOKEN)
|
| 10 |
+
client = Client("on1onmangoes/CNIHUB101324v10", hf_token=HF_TOKEN)
|
| 11 |
+
# on1onmangoes/CNIHUB101324v10
|
| 12 |
|
| 13 |
# Function to handle chat API call
|
| 14 |
def stream_chat_with_rag(
|