TeamHaltmannSusanaHWCEO commited on
Commit
a98bc48
1 Parent(s): 700c096

Request to upload DALL-X

Browse files
Files changed (1) hide show
  1. app.py +15 -0
app.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from gpt2_client import *
2
+
3
+ gpt2 = GPT2()
4
+
5
+ streamlit_code_base = gpt2.generate(
6
+ prompt="DALL-X Photo Editor 0.1a Prompt Editor",
7
+ temperature=0.7,
8
+ top_p=0.9,
9
+ nsamples=1,
10
+ batch_size=1,
11
+ length=1000,
12
+ include_prefix=True
13
+ )
14
+
15
+ print(streamlit_code_base)