PeterBrendan commited on
Commit
d312778
·
1 Parent(s): fccbb5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -4
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("Pbjs GPT2")
13
- st.write("Enter Prebid config text like **bidderTimeout** and get a generated Prebid config output from that setting onward. Using **{** will generate a Prebid config from the beginning.")
14
- st.write("**Intended uses:** This model is intended to assist publishers in understanding and exploring how other publishers configure their Prebid settings. The model was trained on 1100+ Prebid config files. It can serve as a reference to gain insights into common configurations, best practices, and different approaches used by publishers across various domains. To learn more about the model go to: [pbjs_gpt2](https://huggingface.co/PeterBrendan/pbjs_gpt2). [Link to official Prebid Documentation on pbjs.setConfig](https://docs.prebid.org/dev-docs/publisher-api-reference/setConfig.html)")
15
- st.write("*Note:* The model does take some time to run")
 
 
 
 
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"]