Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import requests
|
|
7 |
st.set_page_config(page_title="RadiantScriptor")
|
8 |
|
9 |
# Function to call the Hugging Face model API
|
10 |
-
def query_huggingface_model(
|
11 |
API_TOKEN = "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"
|
12 |
API_URL = "https://poxj7ux0l7kszkjs.us-east-1.aws.endpoints.huggingface.cloud"
|
13 |
|
|
|
7 |
st.set_page_config(page_title="RadiantScriptor")
|
8 |
|
9 |
# Function to call the Hugging Face model API
|
10 |
+
def query_huggingface_model(prompt):
|
11 |
API_TOKEN = "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"
|
12 |
API_URL = "https://poxj7ux0l7kszkjs.us-east-1.aws.endpoints.huggingface.cloud"
|
13 |
|