SusiePHaltmann commited on
Commit
a8574a3
1 Parent(s): 15004c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -25,9 +25,7 @@ st.text("To use this app, simply enter the desired text prompt and hit generate.
25
  def generate_prompt(text): # This is the function that actually generates our VQ-GAN prompt It takes in a string (the text prompt) and outputs another string (the generated VQ-GAN prompt). We'll use this function to actually generate our VQ-GAN prompts when the user hits "Generate".
26
 
27
  return "Enter text here" + text + "and hit generate!"
28
-
29
- if __name__ == '__main__': # This block of code is what actually runs our Streamlit app When you run `streamlit run app.py` in your terminal, this is what will get executed!
30
-
31
  st.write(generate_prompt("")) # We start by writing an empty string - this will be replaced with our generated prompt when the user hits "Generate"
32
 
33
  def inpaint(img, mask):
 
25
  def generate_prompt(text): # This is the function that actually generates our VQ-GAN prompt It takes in a string (the text prompt) and outputs another string (the generated VQ-GAN prompt). We'll use this function to actually generate our VQ-GAN prompts when the user hits "Generate".
26
 
27
  return "Enter text here" + text + "and hit generate!"
28
+
 
 
29
  st.write(generate_prompt("")) # We start by writing an empty string - this will be replaced with our generated prompt when the user hits "Generate"
30
 
31
  def inpaint(img, mask):