Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
from huggingface_hub import InferenceClient
|
| 3 |
|
|
|
|
|
|
|
|
|
|
| 4 |
# Initialize the Hugging Face Inference Client
|
| 5 |
client = InferenceClient(
|
| 6 |
-
|
| 7 |
-
|
| 8 |
)
|
| 9 |
|
| 10 |
# Function to generate project tasks using LLaMA 3 8B
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
from huggingface_hub import InferenceClient
|
| 3 |
|
| 4 |
+
global base_url
|
| 5 |
+
global token
|
| 6 |
+
|
| 7 |
# Initialize the Hugging Face Inference Client
|
| 8 |
client = InferenceClient(
|
| 9 |
+
base_url
|
| 10 |
+
token
|
| 11 |
)
|
| 12 |
|
| 13 |
# Function to generate project tasks using LLaMA 3 8B
|