Spaces:
Sleeping
Sleeping
Commit
·
d312778
1
Parent(s):
fccbb5e
Update app.py
Browse files
app.py
CHANGED
@@ -9,10 +9,14 @@ def main():
|
|
9 |
if "generated_widget_id" not in st.session_state:
|
10 |
st.session_state["generated_widget_id"] = None
|
11 |
|
12 |
-
st.title("
|
13 |
-
st.write("Enter Prebid config
|
14 |
-
|
15 |
-
st.
|
|
|
|
|
|
|
|
|
16 |
|
17 |
# Default prompts
|
18 |
default_prompts = ["{", "bidderTimeout", "bidderSequence", "Usebidcache", "customPriceBucket"]
|
|
|
9 |
if "generated_widget_id" not in st.session_state:
|
10 |
st.session_state["generated_widget_id"] = None
|
11 |
|
12 |
+
st.title("Prebid Config Generator")
|
13 |
+
st.write("Enter a Prebid config setting, such as 'bidderTimeout', and get a generated Prebid config output starting from that setting onward. Using '{' will generate a Prebid config from the beginning.")
|
14 |
+
|
15 |
+
st.subheader("Intended Uses")
|
16 |
+
st.write("This model is designed to assist publishers in understanding and exploring how other publishers configure their Prebid settings. It can serve as a valuable reference to gain insights into common configurations, best practices, and different approaches used by publishers across various domains.")
|
17 |
+
st.write("To learn more about the model, visit the [pbjs_gpt2 model page](https://huggingface.co/PeterBrendan/pbjs_gpt2). You can also refer to the [official Prebid Documentation on pbjs.setConfig](https://docs.prebid.org/dev-docs/publisher-api-reference/setConfig.html) for more information.")
|
18 |
+
|
19 |
+
st.write("Note: The model may take some time to generate the output.")
|
20 |
|
21 |
# Default prompts
|
22 |
default_prompts = ["{", "bidderTimeout", "bidderSequence", "Usebidcache", "customPriceBucket"]
|